fix: correct websocket notification for change password page (#39671) (#39670)

* Backport #39671
* Fix #39669

And also fix a UI bug
This commit is contained in:
wxiaoguang authored and GitHub committed 2026-10-07 19:26:34 +00:00
1 parent c60b13b2dd
commit 5018ae1b29
3 files changed
+3 -4

No files matched your search

-1
View File
@@ -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
}