Skip to content

Commit

Permalink
chore: remove issue reference
Browse files Browse the repository at this point in the history
Closes #2264
  • Loading branch information
aeneasr committed Feb 27, 2022
1 parent cbe8f6e commit ab66402
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions selfservice/strategy/password/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ func (s *Strategy) Login(w http.ResponseWriter, r *http.Request, f *login.Flow,
}

if !s.d.Hasher().Understands([]byte(o.HashedPassword)) {
// Migrate password hash if not configured hasher.
// But Kratos doesn't have ability to import credentials now.
// see https://github.com/ory/kratos/issues/605
if err := s.migratePasswordHash(r.Context(), i.ID, []byte(p.Password)); err != nil {
return nil, s.handleLoginError(w, r, f, &p, err)
}
Expand Down

0 comments on commit ab66402

Please sign in to comment.