mirror of
https://github.com/go-gitea/gitea
synced 2025-08-12 12:38:20 +00:00
Batch fix
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user