diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/install.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go index 0a8af4f284..72c8b137b0 100644 --- a/routers/install.go +++ b/routers/install.go @@ -131,6 +131,7 @@ func Install(ctx *middleware.Context) { // Server and other services settings form.OfflineMode = setting.OfflineMode + form.DisableGravatar = setting.DisableGravatar form.DisableRegistration = setting.Service.DisableRegistration form.RequireSignInView = setting.Service.RequireSignInView @@ -260,6 +261,7 @@ func InstallPost(ctx *middleware.Context, form auth.InstallForm) { cfg.Section("service").Key("ENABLE_NOTIFY_MAIL").SetValue(com.ToStr(form.MailNotify)) cfg.Section("server").Key("OFFLINE_MODE").SetValue(com.ToStr(form.OfflineMode)) + cfg.Section("picture").Key("DISABLE_GRAVATAR").SetValue(com.ToStr(form.DisableGravatar)) cfg.Section("service").Key("DISABLE_REGISTRATION").SetValue(com.ToStr(form.DisableRegistration)) cfg.Section("service").Key("REQUIRE_SIGNIN_VIEW").SetValue(com.ToStr(form.RequireSignInView)) |