Create key shortcuts for account

main
Bob Mottram 2021-04-23 15:40:42 +01:00
parent 1d6f42c263
commit 4f29cd13c5
1 changed files with 5 additions and 3 deletions

View File

@ -14280,9 +14280,11 @@ class PubServer(BaseHTTPRequestHandler):
if '/' in nickname:
nickname = nickname.split('/')[0]
if not self.server.keyShortcuts.get(nickname):
accessKeys = self.server.accessKeys
if self.server.keyShortcuts.get(nickname):
self.server.keyShortcuts[nickname] = accessKeys.copy()
accessKeys = self.server.keyShortcuts[nickname]
self._keyShortcuts(self.path,
callingDomain, cookie,
self.server.baseDir,