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:
parent
1dc95ba3d3
commit
9860b62d4e
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…
Reference in New Issue
Block a user