mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
formatting
This commit is contained in:
parent
ea43a34dee
commit
bdffaca099
2 changed files with 6 additions and 6 deletions
|
@ -184,15 +184,15 @@ class Client(oic.Client):
|
||||||
# this most likely means the user's Django session vanished
|
# this most likely means the user's Django session vanished
|
||||||
if session.get("state", None) is None:
|
if session.get("state", None) is None:
|
||||||
logger.error(
|
logger.error(
|
||||||
f"The OP state {state} does not match the session state."
|
f"The OP state {state} does not match the session state. "
|
||||||
f"The session state is None."
|
f"The session state is None. "
|
||||||
f"authn_response['state'] = {authn_response['state']}"
|
f"authn_response['state'] = {authn_response['state']} "
|
||||||
f"session.get('state', None) = {session.get('state', None)}"
|
f"session.get('state', None) = {session.get('state', None)}"
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
logger.error(
|
logger.error(
|
||||||
f"The OP state {state} does not match the session state."
|
f"The OP state {state} does not match the session state. "
|
||||||
f"authn_response['state'] = {authn_response['state']}"
|
f"authn_response['state'] = {authn_response['state']} "
|
||||||
f"session.get('state', None) = {session.get('state', None)}"
|
f"session.get('state', None) = {session.get('state', None)}"
|
||||||
)
|
)
|
||||||
raise o_e.StateMismatch()
|
raise o_e.StateMismatch()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue