change StateMismatch to inherit AuthenticationFailed

This commit is contained in:
Rachid Mrad 2024-03-20 12:29:12 -04:00
parent 3ea0d90853
commit d2c6a2df8b
No known key found for this signature in database
2 changed files with 8 additions and 6 deletions

View file

@ -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."