Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

keep the session longer on mobile #168

Merged
merged 1 commit into from
Oct 12, 2022
Merged

keep the session longer on mobile #168

merged 1 commit into from
Oct 12, 2022

Conversation

randylien
Copy link
Contributor

Session cookie is a way to keep security. But it might make a bad user experience on the mobile or PWA.
When you switch to use different apps and switch back to the mobile safari or PWA, your session has been terminated.
So you always need to login again.
Removing the maxAge settings can make the cookie existing longer until 2 weeks.
For a better user experience, we can add the remember me checkbox in the future.

@netlify
Copy link

netlify bot commented Oct 12, 2022

‼️ Deploy request for efdevcon rejected.

Name Link
🔨 Latest commit 7379267

@wslyvh
Copy link
Member

wslyvh commented Oct 12, 2022

Oh my.. We've been looking into this, considering #160 but completely missed this (assuming it was default value).
So nice to get a fresh pair of eyes. Thank you!

@wslyvh wslyvh merged commit 5980a81 into efdevcon:main Oct 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants