diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-21 01:09:22 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-21 01:09:22 -0400 |
commit | 369ddf76a8ae6916ab72f1fa26c81b44c456c6ea (patch) | |
tree | 3e26392ef3ff4569cc077432e507e848f907df8a /conf/app.ini | |
parent | 53a17bbd240e0dd3755b7a666792d69e358f3e00 (diff) | |
download | gitea-369ddf76a8ae6916ab72f1fa26c81b44c456c6ea.tar.gz gitea-369ddf76a8ae6916ab72f1fa26c81b44c456c6ea.zip |
Batch fix
Diffstat (limited to 'conf/app.ini')
-rw-r--r-- | conf/app.ini | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/conf/app.ini b/conf/app.ini index 658f7c0151..d38cd1f05e 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -18,7 +18,7 @@ HTTP_ADDR = HTTP_PORT = 3000 [database] -; Either "mysql" or "postgres", it's your choice +; Either "mysql", "postgres" or "sqlite3"(binary release only), it's your choice DB_TYPE = mysql HOST = NAME = gogs @@ -26,6 +26,10 @@ USER = root PASSWD = ; For "postgres" only, either "disable", "require" or "verify-full" SSL_MODE = disable +; For "sqlite3" only +PATH = data/gogs.db + +[admin] [security] ; !!CHANGE THIS TO KEEP YOUR USER DATA SAFE!! @@ -36,6 +40,8 @@ ACTIVE_CODE_LIVE_MINUTES = 180 RESET_PASSWD_CODE_LIVE_MINUTES = 180 ; User need to confirm e-mail for registration REGISTER_EMAIL_CONFIRM = false +; Does not allow register and admin create account only +DISENABLE_REGISTERATION = false [mailer] ENABLED = false |