realy realy save password...
This commit is contained in:
parent
8ad6ebfeee
commit
7d46574498
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user