Working on install page
This commit is contained in:
parent
5344a03003
commit
0fd754bbe0
6 changed files with 56 additions and 37 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue