From 2984f8d84356dac8ca924941bc300154c60f2b40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 7 Jan 2013 22:00:53 +0100 Subject: [PATCH] Fix recalculating hash when cost changes --- wcfsetup/install/files/lib/data/user/User.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/user/User.class.php b/wcfsetup/install/files/lib/data/user/User.class.php index 2a2dfc772b..b8f40fc855 100644 --- a/wcfsetup/install/files/lib/data/user/User.class.php +++ b/wcfsetup/install/files/lib/data/user/User.class.php @@ -113,7 +113,7 @@ final class User extends DatabaseObject implements IRESTfulResponse, IRouteContr if ($rebuild) { $userEditor = new UserEditor($this); $userEditor->update(array( - 'password' => PasswordUtil::getDoubleSaltedHash($password) + 'password' => $password )); } -- 2.20.1