store the account after change its password (fix #1801)

This commit is contained in:
Thomas NOËL 2012-10-23 15:56:35 +02:00
parent e171274e36
commit 1d61164bd8
1 changed files with 1 additions and 0 deletions

View File

@ -1039,6 +1039,7 @@ class MethodUserDirectory(Directory):
if method == 'create-anew':
password = make_password()
self.account.set_password(password)
self.account.store()
else:
password = self.account.password