Parenthesis fix on the JWT auth error message
This commit is contained in:
parent
b7303665a2
commit
457ee7306e
1 changed files with 2 additions and 2 deletions
|
@ -331,8 +331,8 @@ def _validate_jwt(config):
|
|||
username = get_authenticated_user().username
|
||||
result = users.user_exists(username)
|
||||
if not result:
|
||||
raise Exception('Verification of superuser %s failed. The user either does not exist ' +
|
||||
'in the remote authentication system OR JWT auth is misconfigured.' % username)
|
||||
raise Exception(('Verification of superuser %s failed. The user either does not exist ' +
|
||||
'in the remote authentication system OR JWT auth is misconfigured.') % username)
|
||||
|
||||
|
||||
_VALIDATORS = {
|
||||
|
|
Reference in a new issue