store the account after change its password (fix #1801)
This commit is contained in:
parent
e171274e36
commit
1d61164bd8
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue