Hi,
I want to change the content of this page: /customer/account/login
Which file in magento2 is responsible for the this page?
thank you
You can enable template file, so you can know which file called
Store > Configuration > Advanced > Developer > Debug > Enabled Template Path Hints for Storefront > Yes
Hope it will work for you!!
If it work for you then mark as solution.
For customer/account/login action contents below file from Magento Customer module,
This action contains XML file inside below path,
vendor/magento/module-customer/view/frontend/layout/customer_account_login.xml
Path of template file is,
vendor/magento/module-customer/view/frontend/templates/form/login.phtml
You can find details of title like , New Customers, Create an account
from file,
vendor/magento/module-customer/view/frontend/templates/newcustomer.phtml
Above template file is responsible for content of login.phtml file
Above template file is calling block function from below Block class,
vendor/magento/module-customer/Block/Form/Login.php file
If issue resolved, click Kudo and Accept as solutions.
Thanks Rakesh.
You saved lots of time.Kudos.
--Parvinder