https://github.com/magesuite/persistent-login
This module allows customers to stay logged-in for a prolonged amount of time.
Installation
This module is optional.
composer require "creativestyle/magesuite-persistent-login" ^1.0.0
Admin settings
There are no admin settings for the module, the functionality is enabled by default when installed.
Backend
In progress
Frontend
The persistent login script (persistent-login.js) checks if persistent_login_used
cookie is present. If there is such a cookie the script then checks if the customer is already logged-in. If not it sends a post request to persistent_login/persistent/login
Backend code performs login when a customer enters a fully cached page and Javascript detects that it is not logged in currently. If the customer logged in during the current request the page is reloaded.