Skip to content

Commit

Permalink
fix: Error handling at requiresAAL2
Browse files Browse the repository at this point in the history
Signed-off-by: sawadashota <[email protected]>
  • Loading branch information
sawadashota committed Jan 31, 2022
1 parent b3aee33 commit d65da17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfservice/flow/login/hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (e *HookExecutor) requiresAAL2(r *http.Request, s *session.Session, a *Flow
}

if err := aalErr.PassReturnToParameter(a.RequestURL); err != nil {
return aalErr, true
return nil, false
}

return aalErr, true
Expand Down

0 comments on commit d65da17

Please sign in to comment.