aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-02-10 16:41:51 -0500
committerUnknwon <u@gogs.io>2017-02-10 16:41:51 -0500
commitb67ec01d41ad9d504d80ffb950e161b9ce0841fc (patch)
tree1ee963dcee6daa7bcb6c221fb64cd587f69b88c2 /conf
parent2c154ccbe7d3d4f038885eb439c36bb9fd533e53 (diff)
Able to disable non-admin to create new organization (#1556)
Add new config option '[admin] DISABLE_REGULAR_ORG_CREATION', by default it's 'false'.
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 6e4e7a08..27773a8a 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -171,6 +171,8 @@ SSL_MODE = disable
PATH = data/gogs.db
[admin]
+; Disable regular (non-admin) users to create organizations
+DISABLE_REGULAR_ORG_CREATION = false
[security]
INSTALL_LOCK = false