auth.hashers.check_password()

check_password(password, encoded) [source]

If you’d like to manually authenticate a user by comparing a plain-text password to the hashed password in the database, use the convenience function check_password(). It takes two arguments: the plain-text password to check, and the full value of a user’s password field in the database to check against, and returns True if they match, False otherwise.

doc_Django
2016-10-09 18:34:10
Comments
Leave a Comment

Please login to continue.