mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-23 02:14:26 +00:00
[Web] Fix: show success message after quarantine action
[Git] Add ignore
This commit is contained in:
parent
1dc95ba3d3
commit
9860b62d4e
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -17,6 +17,7 @@ data/conf/postfix/allow_mailcow_local.regexp
|
|||
data/conf/dovecot/sql
|
||||
data/conf/dovecot/lua
|
||||
data/conf/dovecot/global_sieve_*
|
||||
data/conf/dovecot/sogo_trusted_ip.conf
|
||||
data/conf/nextcloud-*.bak
|
||||
data/web/inc/vars.local.inc.php
|
||||
data/web/css/build/0081-custom-mailcow.css
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
session_start();
|
||||
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');
|
||||
exit();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue