realy realy save password...

This commit is contained in:
Oskar Hahn 2011-09-07 14:27:36 +02:00
parent 8ad6ebfeee
commit 7d46574498

View File

@ -40,6 +40,7 @@ class Profile(models.Model):
def reset_password(self): def reset_password(self):
self.user.set_password(self.firstpassword) self.user.set_password(self.firstpassword)
self.user.save()
def __unicode__(self): def __unicode__(self):
if self.group: if self.group: