Logování nesprávného přihlášení

master
Kowalski 2026-11-07 07:43:37 +01:00
parent 7defe1ada0
commit 9f6e3d507a
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ class SignPresenter extends Presenter
$this->redirect('Faktura:');
} catch (AuthenticationException $e) {
error_log('Kufrik - neplatne prihlaseni.', 0); // log je ve var/log/apache2/error.log (fail2ban)
$form->addError('Nespravný e-mail nebo heslo.');
}
}