aboutsummaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorFabioFortini <FabioFortini@users.noreply.github.com>2018-05-13 09:51:16 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2018-05-13 15:51:16 +0800
commit1546458f7df4a4f0e77b7ae5cb65baed6feae394 (patch)
treeaae745f69c31c4b9b808f901ca6dcc0fbd47857a /custom
parente74055878f21c35e49faf2d17abb05e03bfe32e8 (diff)
downloadgitea-1546458f7df4a4f0e77b7ae5cb65baed6feae394.tar.gz
gitea-1546458f7df4a4f0e77b7ae5cb65baed6feae394.zip
issue-2768: added new option allow_only_external_registration (#3910)
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.ini.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index 90c2a9ab9c..68f144c089 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -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