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

Password change shown in settings with only OIDC is enabled #308

Closed
vwbusguy opened this issue Aug 2, 2024 · 0 comments · Fixed by #314
Closed

Password change shown in settings with only OIDC is enabled #308

vwbusguy opened this issue Aug 2, 2024 · 0 comments · Fixed by #314
Labels
enhancement New feature or request

Comments

@vwbusguy
Copy link

vwbusguy commented Aug 2, 2024

When the login form is disabled (ie, OIDC-only logins are forced), the user is still presented with password change options. This can be extra confusing for the user since there is an option to unlink an OIDC on the page, so the user would rightfully assume that unlinking OIDC and setting the password would allow them to authenticate with that password. I suggest that the password change fields not be shown when the logins are set to only OIDC.

User Settings page when login form is disabled/OIDC-only logins are set:
image

Login form disabled in Admin:
image

It should be straightforward to hide these by wrapping the change password on the settings page template in {{ if not .disableForm }}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants