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

User should stay logged in between sessions. #6

Open
OwenLaRosa opened this issue Nov 9, 2018 · 0 comments
Open

User should stay logged in between sessions. #6

OwenLaRosa opened this issue Nov 9, 2018 · 0 comments
Labels
moviemanagerchallenge Task for "Improve the Movie Manager" Challenge

Comments

@OwenLaRosa
Copy link
Contributor

Remember how annoying it is to log in every time you run the app? It would be great if the user could stay logged in.

While you could go the easy route and use UserDefaults to store the session ID, this won't be encrypted (a really bad security problem!)

Instead, you may have some luck using the keychain. It can be a bit overwhelming, but there are wrappers that make using it just like UserDefaults.

This issue may be a bit advanced, especially if you haven't seen persistence on iOS yet, but as you learn more, leveraging some kind of persistence for the user's session would definitely improve the app's usability.

@OwenLaRosa OwenLaRosa added the moviemanagerchallenge Task for "Improve the Movie Manager" Challenge label Nov 9, 2018
BrentMifsud pushed a commit to BrentMifsud/TheMovieManager that referenced this issue Jun 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moviemanagerchallenge Task for "Improve the Movie Manager" Challenge
Projects
None yet
Development

No branches or pull requests

1 participant