mirror of https://gitlab.com/bashrc2/epicyon
Additional authorization message
parent
d9c14ed8ca
commit
8f3b0a407a
|
|
@ -586,6 +586,9 @@ def is_authorized(self) -> bool:
|
|||
self.headers['Cookie'].replace('epicyon=', '') +
|
||||
' token_str=' + token_str)
|
||||
return False
|
||||
else:
|
||||
print('AUTH: Header cookie does not have expected format. ' +
|
||||
'It may have been modified in transit.')
|
||||
print('AUTH: Header cookie was not authorized')
|
||||
return False
|
||||
# basic auth for c2s
|
||||
|
|
|
|||
Loading…
Reference in New Issue