Go to inbox by default

master
Bob Mottram 2019-07-25 20:23:52 +01:00
parent 37a56aed87
commit eda9a081b7
1 changed files with 1 additions and 1 deletions

View File

@ -1066,7 +1066,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.tokens[loginNickname]=sha256((loginNickname+loginPassword+self.server.salts[loginNickname]).encode('utf-8')).hexdigest() self.server.tokens[loginNickname]=sha256((loginNickname+loginPassword+self.server.salts[loginNickname]).encode('utf-8')).hexdigest()
self.server.tokensLookup[self.server.tokens[loginNickname]]=loginNickname self.server.tokensLookup[self.server.tokens[loginNickname]]=loginNickname
self.send_header('Set-Cookie', 'epicyon='+self.server.tokens[loginNickname]+'; SameSite=Strict') 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.end_headers()
self.server.POSTbusy=False self.server.POSTbusy=False
return return