[fix] Avoid password too small error during import operation

This commit is contained in:
ljf 2021-05-09 01:02:51 +02:00
parent 91e7e5e1c8
commit 6e880c8219

View file

@ -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.