diff options
author | Unknwon <u@gogs.io> | 2017-02-10 16:41:51 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-10 16:41:51 -0500 |
commit | b67ec01d41ad9d504d80ffb950e161b9ce0841fc (patch) | |
tree | 1ee963dcee6daa7bcb6c221fb64cd587f69b88c2 /conf | |
parent | 2c154ccbe7d3d4f038885eb439c36bb9fd533e53 (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.ini | 2 |
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 |