Logování nesprávného přihlášení
parent
7defe1ada0
commit
9f6e3d507a
|
|
@ -44,6 +44,7 @@ class SignPresenter extends Presenter
|
||||||
$this->redirect('Faktura:');
|
$this->redirect('Faktura:');
|
||||||
|
|
||||||
} catch (AuthenticationException $e) {
|
} 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.');
|
$form->addError('Nespravný e-mail nebo heslo.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue