mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 23:16:52 +02:00
Allow only internal registration (#15795)
* Add ALLOW_ONLY_INTERNAL_REGISTRATION into settings * OpenID respect setting too
This commit is contained in:
9 files changed
+30
-8
No files matched your search
@@ -659,6 +659,8 @@ EMAIL_DOMAIN_WHITELIST =
|
||||
EMAIL_DOMAIN_BLOCKLIST =
|
||||
; Disallow registration, only allow admins to create accounts.
|
||||
DISABLE_REGISTRATION = false
|
||||
; Allow registration only using gitea itself, it works only when DISABLE_REGISTRATION is false
|
||||
ALLOW_ONLY_INTERNAL_REGISTRATION = false
|
||||
; Allow registration only using third-party services, it works only when DISABLE_REGISTRATION is false
|
||||
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
||||
; User must sign in to view anything.
|
||||
|
||||
Reference in new issue
Block a user