mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-28 03:56:43 +02:00
fix user params updates
This commit is contained in:
parent
a6944582a3
commit
83e6d4400c
@ -144,6 +144,9 @@ def config_update(verbose=False, delete_objects=False):
|
||||
domain=domain,
|
||||
**optional_params
|
||||
)
|
||||
else:
|
||||
for k in optional_params:
|
||||
setattr(user, k, optional_params[k])
|
||||
user.set_password(password_hash, hash_scheme=hash_scheme, raw=True)
|
||||
db.session.add(user)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user