Change admin layout, add Postfix logs

This commit is contained in:
andryyy committed 2017-05-08 00:27:35 +02:00
1 parent aa98d86feb
commit 3b80a1af37
7 files changed
+351 -221

No files matched your search

+2 -2
View File
@@ -21,8 +21,8 @@ $csrfProtector = new csrfProtector;
class mailcowCsrfProtector extends csrfprotector {
public static function logCSRFattack() {
$_SESSION['return'] = array(
'type' => 'danger',
'msg' => 'CSRF violation'
'type' => 'warning',
'msg' => 'CSRF violation, please try again.'
);
}
}