From 55c6faf20bb344a72bde20b154c3b1ef98c11b93 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 25 Feb 2021 18:29:23 +0000 Subject: [PATCH] Redirect to welcome --- daemon.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 5df1ced52..eda5f4bed 100644 --- a/daemon.py +++ b/daemon.py @@ -10383,7 +10383,9 @@ class PubServer(BaseHTTPRequestHandler): if not isWelcomeScreenComplete(self.server.baseDir, nickname, self.server.domain): - self.path = '/users/' + nickname + '/welcome' + self._redirect_headers('/users/' + nickname + '/welcome', + cookie, callingDomain) + return if not htmlGET and \ usersInPath and self.path.endswith('/pinned'):