X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Flogin%2Fclass_ShipSimuUserLogin.php;h=47dd7d94e85f981bdcc228a3c37fa4957b0407c6;hb=6ea47cac34fd28b9d8157ceb1d643f7bfc6a4379;hp=72471e586efcae38328d832f8ad74966cb0f02f9;hpb=8f63fb1a80056e664c0f4eee6e56c9e0fbd9586f;p=shipsimu.git diff --git a/application/ship-simu/main/login/class_ShipSimuUserLogin.php b/application/ship-simu/main/login/class_ShipSimuUserLogin.php index 72471e5..47dd7d9 100644 --- a/application/ship-simu/main/login/class_ShipSimuUserLogin.php +++ b/application/ship-simu/main/login/class_ShipSimuUserLogin.php @@ -141,7 +141,7 @@ class ShipSimuUserLogin extends BaseFrameworkSystem implements LoginableUser { $userInstance = Registry::getRegistry()->getInstance('user'); // Get a crypto helper and hash the password - $this->hashedPassword = ObjectFactory::createObjectByConfiguredName('crypto_class')->hashPassword($plainPassword, $userInstance->getPasswordHash()); + $this->hashedPassword = ObjectFactory::createObjectByConfiguredName('crypto_class')->hashString($plainPassword, $userInstance->getPasswordHash()); // Store the hash back in the request $this->getRequestInstance()->setRequestElement('pass_hash', $this->hashedPassword);