forked from forgejo/forgejo
Update config option
This commit is contained in:
parent
6bd4f34c8d
commit
cb05b8325c
9 changed files with 7 additions and 17 deletions
|
@ -40,8 +40,6 @@ var (
|
|||
|
||||
InstallLock bool
|
||||
|
||||
EnableHttpsClone bool
|
||||
|
||||
LogInRememberDays int
|
||||
CookieUserName string
|
||||
CookieRememberName string
|
||||
|
@ -286,8 +284,6 @@ func NewConfigContext() {
|
|||
|
||||
InstallLock = Cfg.MustBool("security", "INSTALL_LOCK", false)
|
||||
|
||||
EnableHttpsClone = Cfg.MustBool("security", "ENABLE_HTTPS_CLONE", false)
|
||||
|
||||
LogInRememberDays = Cfg.MustInt("security", "LOGIN_REMEMBER_DAYS")
|
||||
CookieUserName = Cfg.MustValue("security", "COOKIE_USERNAME")
|
||||
CookieRememberName = Cfg.MustValue("security", "COOKIE_REMEMBER_NAME")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue