move account save

This commit is contained in:
Ludovic Stephan 2017-02-13 12:19:47 -02:00
parent 5654fd84e8
commit 46e9e82da8
2 changed files with 4 additions and 3 deletions

View file

@ -206,7 +206,6 @@ class Account(models.Model):
pwd_sha256 = hashlib.sha256(pwd.encode('utf-8'))\
.hexdigest()
self.password = pwd_sha256
self.save()
# Surcharge de delete
# Pas de suppression possible