-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customer Login Block sets the title for the page when rendered #13982
Comments
@matthew-muscat, thank you for your report. |
…rendered - Moving the login page title setting from Login Block to cutomer_account_login layout
Hi @lisovyievhenii. Thank you for working on this issue.
|
…rendered. Move setPageTitle from Block to layout configs
Hi @matthew-muscat. Thank you for your report. The fix will be available with the upcoming 2.3.2 release. |
…rendered. Move setPageTitle from Block to layout configs
Hi @matthew-muscat. Thank you for your report. The fix will be available with the upcoming 2.2.9 release. |
The Customer Login Block, defined as
Magento\Customer\Block\Form\Login
currently has logic that would set the overall page title, which is unexpected behaviour.It is assumed that the layout xml, or the controller, would be responsible for setting the page title, and that if the Customer Login Block was to be included in other areas of the Magento Site, that it would not affect the overall page title.
The logic that is causing this behaviour can be located at
magento2/app/code/Magento/Customer/Block/Form/Login.php
Line 55 in 9c14af7
Preconditions
Steps to reproduce
Example Situation where this may occur
Expected result
Actual result
Proposed changes
The text was updated successfully, but these errors were encountered: