Globalize authentication failure error
The authentication failure error during token validation is currently not globalized. This patch provides a fix for that. Change-Id: If5ccdbfd2fc215e3d0013d45c8908344db20789e Closes-Bug: 1614994
This commit is contained in:
parent
5a6296cd4e
commit
c43c8e4b7d
@ -570,7 +570,8 @@ class AuthProtocol(BaseAuthProtocol):
|
||||
self.log.info(_LI('Deferring reject downstream'))
|
||||
else:
|
||||
self.log.info(_LI('Rejecting request'))
|
||||
message = 'The request you have made requires authentication.'
|
||||
message = _('The request you have made requires '
|
||||
'authentication.')
|
||||
body = {'error': {
|
||||
'code': 401,
|
||||
'title': 'Unauthorized',
|
||||
|
Loading…
x
Reference in New Issue
Block a user