mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-01 15:55:15 +08:00
Working on install page
This commit is contained in:
@ -38,6 +38,8 @@ var (
|
||||
RunUser string
|
||||
RepoRootPath string
|
||||
|
||||
InstallLock bool
|
||||
|
||||
EnableHttpsClone bool
|
||||
|
||||
LogInRememberDays int
|
||||
@ -282,6 +284,8 @@ func NewConfigContext() {
|
||||
os.Exit(2)
|
||||
}
|
||||
|
||||
InstallLock = Cfg.MustBool("security", "INSTALL_LOCK", false)
|
||||
|
||||
EnableHttpsClone = Cfg.MustBool("security", "ENABLE_HTTPS_CLONE", false)
|
||||
|
||||
LogInRememberDays = Cfg.MustInt("security", "LOGIN_REMEMBER_DAYS")
|
||||
|
Reference in New Issue
Block a user