fix(login): trigger bulk on reset password (#3970)

Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Silvan 2022-07-19 09:07:37 +02:00 committed by GitHub
parent 931152bb73
commit 2707461ea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ func (l *Login) handlePasswordReset(w http.ResponseWriter, r *http.Request) {
l.renderInitPassword(w, r, authReq, authReq.UserID, "", err)
return
}
user, err := l.query.GetUser(setContext(r.Context(), authReq.UserOrgID), false, loginName)
user, err := l.query.GetUser(setContext(r.Context(), authReq.UserOrgID), true, loginName)
if err != nil {
l.renderPasswordResetDone(w, r, authReq, err)
return