Skip to content

Commit

Permalink
fix: remove stray debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 5, 2020
1 parent 6114d45 commit a8e1ec4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions selfservice/strategy/password/login.go
Expand Up @@ -117,16 +117,12 @@ func (s *Strategy) PopulateLoginMethod(r *http.Request, sr *login.Request) error
if !sr.IsForced() {
// do nothing
} else if sess, err := s.d.SessionManager().FetchFromRequest(r.Context(), r); err != nil {
print("sm")
// do nothing
} else if id, err := s.d.PrivilegedIdentityPool().GetIdentityConfidential(r.Context(), sess.IdentityID); err != nil {
print("confidential")
// do nothing
} else if creds, ok := id.GetCredentials(s.ID()); !ok {
print("nocreds")
// do nothing
} else if len(creds.Identifiers) == 0 {
print("noids")
// do nothing
} else {
identifier = creds.Identifiers[0]
Expand Down

0 comments on commit a8e1ec4

Please sign in to comment.