forked from forgejo/forgejo
Allow only internal registration (#15795)
* Add ALLOW_ONLY_INTERNAL_REGISTRATION into settings * OpenID respect setting too
This commit is contained in:
parent
e818e9150f
commit
a229e34387
9 changed files with 30 additions and 8 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue