Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Remeber me" option to Login #13

Open
adewes opened this issue Nov 2, 2015 · 0 comments
Open

Add "Remeber me" option to Login #13

adewes opened this issue Nov 2, 2015 · 0 comments

Comments

@adewes
Copy link
Owner

adewes commented Nov 2, 2015

Currently, the access token is stored in the browser's session storage. Therefore, when closing the browser window, the data will be erased and the when the user opens the app again he/she will have to log in again.

We should add a remember me checkbox to the login dialog. When checked, this should cause the access token to be store in the local storage instead of the session storage, which will make it persistent until the user explicitly logs out.

The accessToken function of the Utils library should automatically check for the access token both in the local storage and the session storage, and should make sure to clear it out from both when logging out the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant