mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-16 08:27:13 +00:00
Change admin layout, add Postfix logs
This commit is contained in:
1 parent
aa98d86feb
commit
3b80a1af37
7 files changed
+351
-221
No files matched your search
@@ -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.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user