Working on install page

This commit is contained in:
Unknown 2014-03-28 07:26:22 -04:00
parent 5344a03003
commit 0fd754bbe0
6 changed files with 56 additions and 37 deletions

View file

@ -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")