main2
Bob Mottram 2019-10-30 11:44:23 +00:00
parent 974828ef1f
commit 6f1d5d0cbd
1 changed files with 1 additions and 1 deletions

View File

@ -634,7 +634,7 @@ class PubServer(BaseHTTPRequestHandler):
def do_GET(self): def do_GET(self):
if self.path=='/logout': if self.path=='/logout':
self.send_response(200) self.send_response(303)
self.send_header('Content-Length', '0') self.send_header('Content-Length', '0')
self.send_header('Set-Cookie', 'epicyon=; SameSite=Strict') self.send_header('Set-Cookie', 'epicyon=; SameSite=Strict')
self.send_header('Location', '/') self.send_header('Location', '/')