Commits

Zhang Huangbin committed 5fb2d15

Typo.

Comments (0)

Files changed (1)

libs/iredutils.py

     salt[-1] = ''
     salt = '$'.join(salt)
 
-    if md5crypt.md5crypt(p, salt) == p:
+    if md5crypt.md5crypt(plain_password, salt) == challenge_password:
         return True
     else:
         return False