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

Add a EMAIL_DOMAIN_SIGNUP_WHITELIST configuration option #32579

Open
stdmr opened this issue Nov 20, 2024 · 0 comments
Open

Add a EMAIL_DOMAIN_SIGNUP_WHITELIST configuration option #32579

stdmr opened this issue Nov 20, 2024 · 0 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@stdmr
Copy link

stdmr commented Nov 20, 2024

Feature Description

Our current use case is, that we restrict user registration via the EMAIL_DOMAIN_WHITELIST option. But after a successful registration each user should be able to add secondary email addresses (or change the primary email address) without any restrictions.

EMAIL_DOMAIN_WHITELIST is to restrictive! There was already a discussion about the possibility to allow admin users to circumvent the EMAIL_DOMAIN_WHITELIST (see: #28925 ), which was accepted.
But regular users still can't change their email to an address which is not on the email whitelist.

Our proposal: We want the email whitelist check only for new signups. Nothing else.
To not break workflows for other gitea instances it may be the best to just add another configuration option EMAIL_DOMAIN_SIGNUP_WHITELIST (name is just a proposal from me) which is only checked when a user tries to signup supplying an email and a password.

Screenshots

No response

@stdmr stdmr added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

1 participant