diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/setting/setting.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index ec9fa02c25..4aca579617 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -1247,6 +1247,7 @@ var Service struct { DefaultAllowOnlyContributorsToTrackTime bool NoReplyAddress string EnableUserHeatmap bool + AutoWatchNewRepos bool // OpenID settings EnableOpenIDSignIn bool @@ -1281,6 +1282,7 @@ func newService() { Service.DefaultAllowOnlyContributorsToTrackTime = sec.Key("DEFAULT_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME").MustBool(true) Service.NoReplyAddress = sec.Key("NO_REPLY_ADDRESS").MustString("noreply.example.org") Service.EnableUserHeatmap = sec.Key("ENABLE_USER_HEATMAP").MustBool(true) + Service.AutoWatchNewRepos = sec.Key("AUTO_WATCH_NEW_REPOS").MustBool(true) sec = Cfg.Section("openid") Service.EnableOpenIDSignIn = sec.Key("ENABLE_OPENID_SIGNIN").MustBool(!InstallLock) |