Commits

Zhang Huangbin committed 5fb2d15

Typo.

  • Participants
  • Parent commits 70090ad

Comments (0)

Files changed (1)

File 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