diff --git a/routers/web/web.go b/routers/web/web.go index 1ef407c3b98..84b4227ccfc 100644 --- a/routers/web/web.go +++ b/routers/web/web.go @@ -197,7 +197,6 @@ func verifyAuthWithOptionsWeb(options *common.VerifyOptions) func(ctx *context.C ctx.HTTPError(http.StatusUnauthorized, ctx.Locale.TrString("auth.must_change_password")) return } - middleware.SetRedirectToCookie(ctx.Resp, setting.AppSubURL+ctx.Req.URL.RequestURI()) ctx.Redirect(setting.AppSubURL + "/user/settings/change_password") return } diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 65816badcca..5bceda34840 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -44,8 +44,8 @@