News for hackers. Stuff that matters.
Re:Pinterest hacked? by est on Saturday May 11, 2013 @02:44AM (#5689934)
Django by default use salted bcrypt, why would anyone NOT doing that?

Adding a change password function to a custom model is too trivial

    class MyUser(models.Model):
      password = models.CharField(max_length=128)
      set_password = django.contrib.auth.models.User.set_password.__func__
      check_password = django.contrib.auth.models.User.check_password.__func__
And you can do with your instance with set_password() or check_password() like Django's admin User.

There are no comments on this comment yet.