Remove general 'unauthorized' message from middleware
The message is too general to be useful, and at this late stage it could override a more useful message that may have been provided earlier. Change-Id: If819748f765ce30a71206a15f9874727e459dce8 Closes-Bug: #1221716
This commit is contained in:
parent
12eac59d34
commit
202427c1d8
@ -94,8 +94,6 @@ class HorizonMiddleware(object):
|
||||
response_401 = http.HttpResponse(status=401)
|
||||
response_401['X-Horizon-Location'] = response['location']
|
||||
return response_401
|
||||
else:
|
||||
utils.add_logout_reason(request, response, _("Unauthorized."))
|
||||
|
||||
return response
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user