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

Fix firefox failing to set password for users with no password set #7

Merged
merged 1 commit into from
Jan 11, 2019

Conversation

hawken93
Copy link
Contributor

Fixes jellyfin/jellyfin#522

userpasswordpage.html has autocomplete=off on these fields, but firefox promptly ignores that.

This fix checks if the field is hidden and if so, then it doesn't submit it. The reason for it being so indirect is that I'm a noob and didn't know where a global variable for user.HasConfiguredPassword would be put..
I have hadded a descriptive comment to help anyone looking at this fix in the future.

@hawken93 hawken93 changed the title Fix 522 Fix firefox failing to set password for users with no password set Jan 10, 2019
@joshuaboniface joshuaboniface merged commit 754d68a into jellyfin:dev Jan 11, 2019
@hawken93 hawken93 deleted the fix_522 branch January 12, 2019 12:00
@joshuaboniface joshuaboniface mentioned this pull request Jan 21, 2019
joshuaboniface pushed a commit that referenced this pull request Dec 31, 2020
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.

2 participants