|
@ -89,7 +89,7 @@ class UserCache: |
|
|
## Check if user password is correct |
|
|
## Check if user password is correct |
|
|
if self.cache[hashedUserName].checkSecret(hashedPassword): |
|
|
if self.cache[hashedUserName].checkSecret(hashedPassword): |
|
|
return True |
|
|
return True |
|
|
else |
|
|
|
|
|
|
|
|
else: |
|
|
## Delete cache entry if password is wrong |
|
|
## Delete cache entry if password is wrong |
|
|
self.cache.pop(hashedUserName) |
|
|
self.cache.pop(hashedUserName) |
|
|
|
|
|
|
|
|