The focus here is to implement a very simple remember-me flow for our login page.
If you're using the git repository to get the project - you should be using the module3 branch.
The relevant module you need to import when you're starting with this lesson is: m3-lesson1
If you want to skip and see the complete implementation, feel free to jump ahead and import: m3-lesson2
The credentials used in the code of this lesson are: firstname.lastname@example.org/pass (data.sql).
First, we’re going to enable the basic remember-me functionality in the security config:
We are then going to add the remember-me checkbox on the login page:
<input id="remember" type="checkbox" name="remember-me" value="true" />
Finally, we are going to test by following two scenarios: