How to Enable/Disable Remember Me Functionality in Magento
Ecommerce stores offer features that make it easier to shop online for customers.
One of them is the “Remember me” functionality that saves the users to enter their account credentials each time they log in to the store.
However, the “remember me” feature is not enabled by default in Magento 1.
Also, for security purposes, the stores may not want to enable it.
The below tutorial shows how to enable or disable remember me functionality in Magento 1 and Magento 2 store with ease.
Steps to Enable/Disable Remember Me Functionality in Magento 2:
- Login to admin panel
- Go to Stores > Configuration
- Under Customers, select Persistent Shopping Cart
- Expand General Options
- Set yes/no in the Enable “Remember Me” field as per your requirement
- Save the configuration
Steps to Enable/Disable Remember Me Functionality in Magento 1:
- Login to admin panel
- Go to System > Configuration
- Under Customers, select Persistent Shopping Cart
- Expand General Options
- Set yes to “Enable Persistence“
- Set yes/no in the Enable “Remember Me” field as per your requirement
- Save the configuration
That’s it.
Enhance the user experience of your Magento store by implementing such small yet incredibly useful features.
Also, do not hesitate to post your doubts in the Comments section below regarding the tutorial.
Please share the solution with Magento community via social media.
Thank you.
Sanjay Jethva
Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe.
His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.
2 Comments
if we enable remember and after selecting remember me if user logged than he logged out and again come to login screen, does this functionality display credentials auto filled in login form or it will never automatically logout customer. how does it works, can you please explain.
Hello Preeteshtavant,
In that case, it will log out the customer and save customer information in cookies.
Thank You