check label
This commit is contained in:
parent
5e7796c1c7
commit
ba5cba6719
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class Unauthorized(LoginPage):
|
||||||
return super(Unauthorized, self).__call__() # open or redirect to login page
|
return super(Unauthorized, self).__call__() # open or redirect to login page
|
||||||
else:
|
else:
|
||||||
response.setStatus(403)
|
response.setStatus(403)
|
||||||
return 'Unauthorized'
|
return 'Unauthorized: You are not allowed to access this ressource.'
|
||||||
|
|
||||||
|
|
||||||
def getConfigAuthMethod():
|
def getConfigAuthMethod():
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue