X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Flogin%2Fclass_ShipSimuUserLogin.php;h=178c4088a7b81c744c685834d2775599c9fb835c;hp=541e18810234714cf464e1fcc9d7b34965b5a06b;hb=5bf79580029c4f6ee71e6c9e7890169e4b344def;hpb=fc50e3805a154eca3330aeae911cd6b75c967e9f diff --git a/application/ship-simu/main/login/class_ShipSimuUserLogin.php b/application/ship-simu/main/login/class_ShipSimuUserLogin.php index 541e188..178c408 100644 --- a/application/ship-simu/main/login/class_ShipSimuUserLogin.php +++ b/application/ship-simu/main/login/class_ShipSimuUserLogin.php @@ -106,7 +106,7 @@ class ShipSimuUserLogin extends BaseFrameworkSystem implements LoginableUser { } /** - * Determines wether the login was fine. This is done by checking if the 'login' instance is in registry + * Determines wether the login was fine. This is done by checking if 'login' instance is in registry * * @return $loginDone Wether the login was fine or not */ @@ -119,14 +119,14 @@ class ShipSimuUserLogin extends BaseFrameworkSystem implements LoginableUser { } /** - * Encrypt the given request key or throw an exception if the key was not - * found in the request + * Encrypt given request key or throw an exception if key was not found in + * request * * @param $requestKey Key in request class * @return void */ public function encryptPassword ($requestKey) { - // Check if the password is found in the request + // Check if password is found in request if ($this->getRequestInstance()->isRequestElementSet($requestKey)) { // So encrypt the password and store it for later usage in // the request: @@ -140,7 +140,7 @@ class ShipSimuUserLogin extends BaseFrameworkSystem implements LoginableUser { // Get a crypto helper and hash the password $this->hashedPassword = ObjectFactory::createObjectByConfiguredName('crypto_class')->hashString($plainPassword, $userInstance->getPasswordHash()); - // Store the hash back in the request + // Store the hash back in request $this->getRequestInstance()->setRequestElement('pass_hash', $this->hashedPassword); } // END - if }