1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-03 08:55:20 +02: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