Allow pages

master
Bob Mottram 2019-09-05 15:47:38 +01:00
parent 16a414fc53
commit 08314c0f76
1 changed files with 3 additions and 0 deletions

View File

@ -668,9 +668,12 @@ class PubServer(BaseHTTPRequestHandler):
divertToLoginScreen=False divertToLoginScreen=False
else: else:
if self.path.endswith('/following') or \ if self.path.endswith('/following') or \
'/following?page=' in self.path or \
self.path.endswith('/followers') or \ self.path.endswith('/followers') or \
'/followers?page=' in self.path or \
self.path.endswith('/skills') or \ self.path.endswith('/skills') or \
self.path.endswith('/roles') or \ self.path.endswith('/roles') or \
'/shares?page=' in self.path or \
self.path.endswith('/shares'): self.path.endswith('/shares'):
divertToLoginScreen=False divertToLoginScreen=False
if divertToLoginScreen and not authorized: if divertToLoginScreen and not authorized: