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

feat: setting to hide password login #4943

Open
wants to merge 6 commits into
base: mealie-next
Choose a base branch
from

Conversation

cdanis
Copy link

@cdanis cdanis commented Jan 25, 2025

What this PR does / why we need it:

This adds a server config setting to hide the username+password inputs from users on the login page.
This is very useful for installations that use OIDC, and prevents user confusion.
It's been requested in #4581, in a comment in #4477, and arguably in #293.

Which issue(s) this PR fixes:

Fixes #4581

Special notes for your reviewer:

This is my first contribution here, please let me know what more is needed.

Testing

Manually in the dev container.

@michael-genson
Copy link
Collaborator

Generally looks good. I want to get some more eyes on this since I'm not too familiar with the OIDC/LDAP workflow

@cdanis
Copy link
Author

cdanis commented Jan 26, 2025

Fixed the one failing Python test 😄

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

Successfully merging this pull request may close these issues.

2 participants