We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ctx.Doer
1 parent 3d3c3d9 commit 22b8de8Copy full SHA for 22b8de8
routers/web/auth/password.go
@@ -204,7 +204,7 @@ func ResetPasswdPost(ctx *context.Context) {
204
Password: optional.Some(ctx.FormString("password")),
205
MustChangePassword: optional.Some(false),
206
}
207
- if err := user_service.UpdateAuth(ctx, ctx.Doer, opts); err != nil {
+ if err := user_service.UpdateAuth(ctx, u, opts); err != nil {
208
ctx.Data["IsResetForm"] = true
209
ctx.Data["Err_Password"] = true
210
switch {
0 commit comments