mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 00:57:02 +02:00
Add initial setting config
This commit is contained in:
parent
6d0220e77a
commit
5bfd6c867f
2 changed files with 8 additions and 0 deletions
|
@ -95,6 +95,8 @@ def login_callback(request):
|
|||
# if not satisfied, redirect user to login with stepped up acr_value
|
||||
if _requires_step_up_auth(userinfo):
|
||||
# add acr_value to request.session
|
||||
|
||||
# LOOK HERE this is basically the flag that indicates that we should proceed
|
||||
request.session["acr_value"] = CLIENT.get_step_up_acr_value()
|
||||
return CLIENT.create_authn_request(request.session)
|
||||
user = authenticate(request=request, **userinfo)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue