Able to disable non-admin to create new organization (#1556)

Add new config option '[admin] DISABLE_REGULAR_ORG_CREATION', by
default it's 'false'.
This commit is contained in:
Unknwon
2017-02-10 16:41:51 -05:00
parent 2c154ccbe7
commit b67ec01d41
7 changed files with 25 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.9.139.0210"
const APP_VER = "0.9.140.0210"
func init() {
setting.AppVer = APP_VER