mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
Fix refresh bug
There was a bug where the session would not retain data correctly after a hard refresh. This fixes that
This commit is contained in:
parent
5e9db8f1db
commit
0c86311982
2 changed files with 5 additions and 1 deletions
|
@ -250,6 +250,8 @@ class Client(oic.Client):
|
|||
# Define vtm/vtr information on the user dictionary so we can track this in one location.
|
||||
# If a user has this information, then they are bumped up in terms of verification level.
|
||||
if session.get("needs_step_up_auth") is True:
|
||||
if "ial" in info_response_dict:
|
||||
info_response_dict.pop("ial")
|
||||
info_response_dict["vtm"] = session.get("vtm", "")
|
||||
info_response_dict["vtr"] = session.get("vtr", "")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue