From eda9a081b7d286b3e374b28d156c6f3fd3ded49b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 25 Jul 2019 20:23:52 +0100 Subject: [PATCH] Go to inbox by default --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index c5489962..ab8dba0f 100644 --- a/daemon.py +++ b/daemon.py @@ -1066,7 +1066,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.tokens[loginNickname]=sha256((loginNickname+loginPassword+self.server.salts[loginNickname]).encode('utf-8')).hexdigest() self.server.tokensLookup[self.server.tokens[loginNickname]]=loginNickname self.send_header('Set-Cookie', 'epicyon='+self.server.tokens[loginNickname]+'; SameSite=Strict') - self.send_header('Location', '/users/'+loginNickname+'/outbox') + self.send_header('Location', '/users/'+loginNickname+'/inbox') self.end_headers() self.server.POSTbusy=False return