Login service and project base #2

Merged
PootisPenserHere merged 10 commits from loginService into master 2018-08-06 02:14:38 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 2773092cfc - Show all commits

View File

@ -11,4 +11,4 @@ $app->get('/[{name}]', function (Request $request, Response $response, array $ar
// Render index view // Render index view
return $this->renderer->render($response, 'index.phtml', $args); return $this->renderer->render($response, 'index.phtml', $args);
}); });

View File

@ -33,7 +33,7 @@ class cryptographyService{
return "$ivInHex$hexedCipherText"; return "$ivInHex$hexedCipherText";
} catch (Exception $e) { } catch (Exception $e) {
throw new Exception('here was an error encrypting the string, contact the system administrator.'); throw new Exception('There was an error encrypting the string, contact the system administrator.');
$this->logger->warning("There was an error in the cryptographyService->encryptString caused by: $e "); $this->logger->warning("There was an error in the cryptographyService->encryptString caused by: $e ");
} }
} }