diff --git a/update.php b/update.php index b01a04a75..166b79af7 100755 --- a/update.php +++ b/update.php @@ -459,7 +459,7 @@ Debug::log("Changing password of user $login..."); - if (UserHelper::user_modify($uid, $password)) { + if (UserHelper::user_has_password($uid, $password) || UserHelper::user_modify($uid, $password)) { Debug::log("Success."); } else { Debug::log("Operation failed, check the logs for more information.");