summaryrefslogtreecommitdiffstats
path: root/conf/app.ini
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-21 01:09:22 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-21 01:09:22 -0400
commit369ddf76a8ae6916ab72f1fa26c81b44c456c6ea (patch)
tree3e26392ef3ff4569cc077432e507e848f907df8a /conf/app.ini
parent53a17bbd240e0dd3755b7a666792d69e358f3e00 (diff)
downloadgitea-369ddf76a8ae6916ab72f1fa26c81b44c456c6ea.tar.gz
gitea-369ddf76a8ae6916ab72f1fa26c81b44c456c6ea.zip
Batch fix
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini8
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