Skip to content

Fix login method chooser #2111

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

Merged
merged 2 commits into from
Apr 4, 2025
Merged

Fix login method chooser #2111

merged 2 commits into from
Apr 4, 2025

Conversation

FreddyDevelop
Copy link
Contributor

Description

Fix the login method chooser when privacy.only_show_actual_login_methods is set to true. When the user had no password the password option was still present, but must not. Also when email.use_for_authentication is set to false, the passcode option was still present, but must not.

When Privacy.OnlyShowActualLoginMethods config setting is enabled and the user has no password or passwords are disabled the password option must not be available in the login method chooser.
When Privacy.OnlyShowActualLoginMethods config setting is enabled and the user has either no email address or emails are disabled or emails can not be used for authentication, the passcode option must not be available in the login method chooser.
@FreddyDevelop FreddyDevelop merged commit 122b738 into main Apr 4, 2025
8 checks passed
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Recently closed in Hanko Apr 4, 2025
@FreddyDevelop FreddyDevelop deleted the fix-login-method-chooser branch April 4, 2025 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Recently closed
Development

Successfully merging this pull request may close these issues.

2 participants