change-password: Fix encrypt when using non-supported hash method (by returning clear password, you shouldn't do that!)

This commit is contained in:
Leon 2022-02-05 21:03:40 +01:00
parent 0a6a8fa299
commit 26d285703c

View file

@ -202,7 +202,7 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin
break;
}
return $sPassword;
return $password;
}
private static function PasswordStrength(string $sPassword) : int