Merge "Give some message when an invalid token is in use"

This commit is contained in:
Jenkins 2015-08-13 03:57:53 +00:00 committed by Gerrit Code Review
commit ee0e251e7c
1 changed files with 3 additions and 3 deletions

View File

@ -461,9 +461,9 @@ class MigrationNotProvided(Exception):
) % {'mod_name': mod_name, 'path': path})
class UnsupportedTokenVersionException(Exception):
"""Token version is unrecognizable or unsupported."""
pass
class UnsupportedTokenVersionException(UnexpectedError):
message_format = _('Token version is unrecognizable or '
'unsupported.')
class SAMLSigningError(UnexpectedError):