Additional authorization message

main
Bob Mottram 2026-01-01 18:23:59 +00:00
parent d9c14ed8ca
commit 8f3b0a407a
1 changed files with 3 additions and 0 deletions

View File

@ -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