Disable registration by default
This commit is contained in:
parent
0ce93e0391
commit
bd38470bde
@ -528,7 +528,7 @@ REGISTER_EMAIL_CONFIRM = false
|
||||
; gitea.io,example.com
|
||||
EMAIL_DOMAIN_WHITELIST=
|
||||
; Disallow registration, only allow admins to create accounts.
|
||||
DISABLE_REGISTRATION = false
|
||||
DISABLE_REGISTRATION = true
|
||||
; 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.
|
||||
|
Loading…
Reference in New Issue
Block a user