##// END OF EJS Templates
Remove unnecessary check on password salt length.
Fernando Perez -
Show More
@@ -109,7 +109,7 b' def passwd_check(hashed_passphrase, passphrase):'
109 except ValueError:
109 except ValueError:
110 return False
110 return False
111
111
112 if len(pw_digest) == 0 or len(salt) != salt_len:
112 if len(pw_digest) == 0:
113 return False
113 return False
114
114
115 h.update(passphrase + salt)
115 h.update(passphrase + salt)
General Comments 0
You need to be logged in to leave comments. Login now