370 implement session persistance for login ui
Closes #370 (closed)
What does this MR do?
This MR added the possibility to save the login datas in the cookies, for a steady login. Also a link to reset the password is added in the popover.
How confident are you it won't break things if deployed?
I dont know :)
Links to related issues
#370 (closed) https://yunity.slack.com/archives/C74JC2V26/p1593755874028600
How to test
- Checkout branch locally
- Login as foodsaver
- Close the whole browser
- Open the browser an go to dashboard
- You are logged out
- Write the email address
- Click in the password box
- check the chekcbox in the popover
- Write the password
- Login
- Close the whole browser again
- Open the browser again
- You should stay logged in
Screenshots (if applicable)
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s)) -
Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings
Edited by Christian Walgenbach