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

Disable 'Remember Me' by default #1952

Closed
wants to merge 1 commit into from

Conversation

dmitrylyzo
Copy link
Contributor

@dmitrylyzo dmitrylyzo commented Sep 26, 2020

jellyfin/jellyfin-tizen#51 in short (and interpreted):

User has 2 accounts on the server:

  • admin/parent
  • child

Client is on TV (or any shared device).

When you are logging in via manual form, Remember Me is checked by default or restored from localStorage and you have to disable it for admin/parent account each time other user enabled it.

Unset enableAutoLogin is treated as true, so if you have valid AccessToken, app logs in.

When you are logging in via visual form, you cannot turn on/off auto login (that's probably why unset enableAutoLogin is treated as true). So if no one set Remember Me (via manual form), you will be logged in.

Changes

  • Remember Me is unchecked and not restored - you are presumably starting a new session. And if you want to be remembered you check Remember Me once (in opposite to unchecking it each time).
  • Unset enableAutoLogin is treated as false.
  • Visual form turns off enableAutoLogin, which disables auto login via visual form. If you have no password, you can easily click your card. With password, you must use manual form (switched automatically).

Issues
Fixes jellyfin/jellyfin-tizen#51

@varlesh also said that Remember Me isn't restored from previous state. So there might be a localStorage issue, but it works on Tizen 4 and 5 (emulator).

@sonarcloud
Copy link

sonarcloud bot commented Sep 26, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
3.5% 3.5% Duplication

@joshuaboniface joshuaboniface marked this pull request as ready for review November 22, 2020 18:13
@joshuaboniface joshuaboniface requested a review from a team November 22, 2020 18:13
@joshuaboniface joshuaboniface marked this pull request as draft November 22, 2020 18:23
@stale
Copy link

stale bot commented Feb 21, 2021

Issues go stale after 90d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 14d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.

@stale stale bot added the stale No activity for an extended length of time label Feb 21, 2021
@stale stale bot removed the stale No activity for an extended length of time label Feb 28, 2021
@sonarcloud
Copy link

sonarcloud bot commented Feb 28, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
1.5% 1.5% Duplication

@dmitrylyzo
Copy link
Contributor Author

Closed in favor of #2481

@dmitrylyzo dmitrylyzo closed this Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remember me login enabled always by default
3 participants