mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Avoid password too small error during import operation
This commit is contained in:
parent
91e7e5e1c8
commit
6e880c8219
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ def user_update(
|
||||||
]
|
]
|
||||||
|
|
||||||
# change_password is None if user_update is not called to change the password
|
# change_password is None if user_update is not called to change the password
|
||||||
if change_password is not None:
|
if change_password is not None and change_password != '':
|
||||||
# when in the cli interface if the option to change the password is called
|
# when in the cli interface if the option to change the password is called
|
||||||
# without a specified value, change_password will be set to the const 0.
|
# without a specified value, change_password will be set to the const 0.
|
||||||
# In this case we prompt for the new password.
|
# In this case we prompt for the new password.
|
||||||
|
|
Loading…
Add table
Reference in a new issue