Skip to content

Commit b8ba471

Browse files
committed
chore: temporarily allow everyone to change password
1 parent 39d7ebd commit b8ba471

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pages/forgotPassword/forgotPassword.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ func (controller *Controller) SubmitForgotPasswordForm(w reqRes.MyResponseWriter
7272
return
7373
}
7474

75-
if !user.CanResetPassword {
76-
myLog.Info.Logf("User %s cannot reset password", username)
77-
renderForgotPasswordPage(w, r, "User cannot reset password")
78-
return
79-
}
75+
//if !user.CanResetPassword {
76+
// myLog.Info.Logf("User %s cannot reset password", username)
77+
// renderForgotPasswordPage(w, r, "User cannot reset password")
78+
// return
79+
//}
8080

8181
renderResetPasswordForm(w, r, user.Username, "")
8282
}

0 commit comments

Comments
 (0)