From: Tim Düsterhus Date: Mon, 7 Jan 2013 21:00:53 +0000 (+0100) Subject: Fix recalculating hash when cost changes X-Git-Tag: 2.0.0_Beta_1~582 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2984f8d84356dac8ca924941bc300154c60f2b40;p=GitHub%2FWoltLab%2FWCF.git Fix recalculating hash when cost changes --- 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 )); }