summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-28 08:39:35 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-28 08:39:35 -0400
commitcb05b8325cdd85dda9bbebf61d8993da34d80e70 (patch)
tree02f277bc119d4ba6368aac7cb9660e1ee7c3869b /modules/base
parent6bd4f34c8dad50da5dc861ffdaebae1577f8881e (diff)
downloadgitea-cb05b8325cdd85dda9bbebf61d8993da34d80e70.tar.gz
gitea-cb05b8325cdd85dda9bbebf61d8993da34d80e70.zip
Update config option
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/conf.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go
index f905c38143..b3a987e646 100644
--- a/modules/base/conf.go
+++ b/modules/base/conf.go
@@ -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")