feature/cierres #30

Merged
aldarien merged 460 commits from feature/cierres into develop 2025-09-11 15:16:17 -03:00
114 changed files with 451 additions and 3837 deletions
Showing only changes of commit 1fa152c07f - Show all commits

View File

@ -168,7 +168,7 @@ class Login
$login = $this->repository->fetchActiveByUser($user->id);
$this->logout($login->user);
} catch (PDOException | EmptyResult $exception) {
error_log($exception, 3, '/logs/exception.log');
error_log($exception.PHP_EOL, 3, '/logs/exception.log');
}
try {
@ -185,7 +185,7 @@ class Login
$this->saveCookie($selector, $token, $login->dateTime->add(new DateInterval("PT{$this->max_login_time}H")));
return true;
} catch (PDOException | Exception $exception) {
error_log($exception, 3, '/logs/exception.log');
error_log($exception.PHP_EOL, 3, '/logs/exception.log');
return false;
}
}