1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-23 02:04:46 +02:00

[Web] Fix: show success message after quarantine action

[Git] Add ignore
This commit is contained in:
andryyy 2020-07-12 21:42:36 +02:00
parent 1dc95ba3d3
commit 9860b62d4e
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -17,6 +17,7 @@ data/conf/postfix/allow_mailcow_local.regexp
data/conf/dovecot/sql data/conf/dovecot/sql
data/conf/dovecot/lua data/conf/dovecot/lua
data/conf/dovecot/global_sieve_* data/conf/dovecot/global_sieve_*
data/conf/dovecot/sogo_trusted_ip.conf
data/conf/nextcloud-*.bak data/conf/nextcloud-*.bak
data/web/inc/vars.local.inc.php data/web/inc/vars.local.inc.php
data/web/css/build/0081-custom-mailcow.css data/web/css/build/0081-custom-mailcow.css

View File

@ -1,7 +1,7 @@
<?php <?php
session_start(); session_start();
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php'; require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
if (quarantine('hash_details', $_GET['hash']) === false) { if (quarantine('hash_details', $_GET['hash']) === false && !isset($_POST)) {
header('Location: /admin'); header('Location: /admin');
exit(); exit();
} }