From 26d285703caae878148145844fceb286914043a2 Mon Sep 17 00:00:00 2001 From: Leon Date: Sat, 5 Feb 2022 21:03:40 +0100 Subject: [PATCH] change-password: Fix encrypt when using non-supported hash method (by returning clear password, you shouldn't do that!) --- plugins/change-password/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/change-password/index.php b/plugins/change-password/index.php index 14c441c20..e97c6548d 100644 --- a/plugins/change-password/index.php +++ b/plugins/change-password/index.php @@ -202,7 +202,7 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin break; } - return $sPassword; + return $password; } private static function PasswordStrength(string $sPassword) : int