From ab6640265055aa14c44029f64a8c3207138d7a21 Mon Sep 17 00:00:00 2001 From: hackerman <3372410+aeneasr@users.noreply.github.com> Date: Sun, 27 Feb 2022 16:12:20 +0100 Subject: [PATCH] chore: remove issue reference Closes https://github.com/ory/kratos/issues/2264 --- selfservice/strategy/password/login.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/selfservice/strategy/password/login.go b/selfservice/strategy/password/login.go index 867560180f47..e997d47c640c 100644 --- a/selfservice/strategy/password/login.go +++ b/selfservice/strategy/password/login.go @@ -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) }