Ticket #4669: authentication.patch

File authentication.patch, 670 bytes (added by Richard House <Richard.House@…>, 8 years ago)

authentication.txt patch

  • authentication.txt

     
    325325
    326326If you'd like to manually authenticate a user by comparing a
    327327plain-text password to the hashed password in the database, use the
    328 convenience function `django.contrib.auth.models.check_password`. It
     328convenience function ``django.contrib.auth.models.check_password``. It
    329329takes two arguments: the plain-text password to check, and the full
    330330value of a user's ``password`` field in the database to check against,
    331331and returns ``True`` if they match, ``False`` otherwise.
Back to Top