If needed instead of an elif.

This commit is contained in:
Tom Galloway committed 2013-04-24 09:29:58 +01:00
1 parent 3ab7d05bf3
commit 2bd413e657
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@ def check_credentials(username, passphrase):
u = cfg.users[username]
elif u is None:
if u is None:
# hash the password whether the user exists, to foil timing
# side-channel attacks
hashlib.md5(passphrase).hexdigest()