forked from indymedia/epicyon
Tidying
parent
0638290ae3
commit
1cafe0c8dd
|
@ -2834,7 +2834,6 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
print('Login success: '+loginNickname)
|
||||
self.send_response(303)
|
||||
# This produces a deterministic token based on nick+password+salt
|
||||
if not self.server.salts.get(loginNickname):
|
||||
saltFilename=self.server.baseDir+'/accounts/'+loginNickname+'@'+self.server.domain+'/.salt'
|
||||
if os.path.isfile(saltFilename):
|
||||
with open(saltFilename, 'r') as fp:
|
||||
|
|
Loading…
Reference in New Issue