From b1a9a47cdf2c2ae6062bd2572f03cab716872ba0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 6 Sep 2019 10:40:57 +0100 Subject: [PATCH] Redirect to inbox if authorized --- daemon.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daemon.py b/daemon.py index b54170e1..9db4ea68 100644 --- a/daemon.py +++ b/daemon.py @@ -653,6 +653,11 @@ class PubServer(BaseHTTPRequestHandler): self.server.GETbusy=False return + if htmlGET and authorized and self.path=='/': + self.server.GETbusy=False + self._redirect_headers(actor+'/inbox',cookie) + return + # if not authorized then show the login screen if htmlGET and self.path!='/login' and self.path!='/': if '/media/' not in self.path and \