Redirect to welcome

This commit is contained in:
bashrc committed 2021-02-25 18:29:23 +00:00
1 parent c63912ed05
commit 55c6faf20b
1 file changed
+3 -1
+3 -1
View File
@@ -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'):