1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

issue-2768: added new option allow_only_external_registration (#3910)

This commit is contained in:
FabioFortini
2018-05-13 09:51:16 +02:00
committed by Lunny Xiao
parent e74055878f
commit 1546458f7d
8 changed files with 20 additions and 2 deletions

View File

@@ -288,6 +288,8 @@ RESET_PASSWD_CODE_LIVE_MINUTES = 180
REGISTER_EMAIL_CONFIRM = false
; Disallow registration, only allow admins to create accounts.
DISABLE_REGISTRATION = false
; Allow registration only using third part services, it works only when DISABLE_REGISTRATION is false
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
; User must sign in to view anything.
REQUIRE_SIGNIN_VIEW = false
; Mail notification