mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 09:07:02 +02:00
change StateMismatch to inherit AuthenticationFailed
This commit is contained in:
parent
3ea0d90853
commit
d2c6a2df8b
2 changed files with 8 additions and 6 deletions
|
@ -33,7 +33,7 @@ class AuthenticationFailed(OIDCException):
|
|||
friendly_message = "This login attempt didn't work."
|
||||
|
||||
|
||||
class StateMismatch(OIDCException):
|
||||
class StateMismatch(AuthenticationFailed):
|
||||
friendly_message = "State mismatch. This login attempt didn't work."
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue