Skip to content

Commit

Permalink
doc: add codedoc to identifier hint block
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 5, 2020
1 parent a8e1ec4 commit 6fe840f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selfservice/strategy/password/login.go
Expand Up @@ -113,6 +113,7 @@ func (s *Strategy) PopulateLoginMethod(r *http.Request, sr *login.Request) error
return errors.WithStack(herodot.ErrBadRequest.WithReasonf("Unable to decode POST body: %s", err))
}

// This block adds the identifier to the method when the request is forced - as a hint for the user.
var identifier string
if !sr.IsForced() {
// do nothing
Expand Down

0 comments on commit 6fe840f

Please sign in to comment.