The changing password process does not working

The getCryptedPassword gives the salt value in the result if the encryption is sha256 or if the encryption is bcrypt (default value) and the use of strong encryption is set.

So in the processResetComplete function, if the code is :

$password = $crypted . ':' . $salt;

The salt value is set a second time when the encryption is sha256 or bcrypt and the user cannot connect with his new password. A simple solution is replace the line above by this line :

$password = (strpos($crypted, ':') > 0) ? $crypted : $crypted . ':' .$salt;

The processResetComplete function should be also set de the encryption param for the getCryptedPassword function.