Allow account creation from only a given domain name #6261

Closed
opened 2025-11-02 06:50:15 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @acagastya on GitHub (Nov 6, 2020).

Hi, I wanted to know if there exists, (and if not, could this be a feature in future) that on my instance of gitea -- say git.example.com, only those accounts can be created which have @example.com emails?

Originally created by @acagastya on GitHub (Nov 6, 2020). Hi, I wanted to know if there exists, (and if not, could this be a feature in future) that on my instance of gitea -- say `git.example.com`, only those accounts can be created which have `@example.com` emails?
GiteaMirror added the type/proposal label 2025-11-02 06:50:15 -06:00
Author
Owner

@mrsdizzie commented on GitHub (Nov 7, 2020):

I think this exists with:

[service]
EMAIL_DOMAIN_WHITELIST = example.com
@mrsdizzie commented on GitHub (Nov 7, 2020): I think this exists with: ``` [service] EMAIL_DOMAIN_WHITELIST = example.com ```
Author
Owner

@lafriks commented on GitHub (Nov 7, 2020):

Closing, please reopen if needed

@lafriks commented on GitHub (Nov 7, 2020): Closing, please reopen if needed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6261