[Web] Add quick actions handler for quarantine, add trigger

This commit is contained in:
andryyy
2019-02-06 09:29:00 +01:00
parent e140979aac
commit 030d5068f3
2 changed files with 76 additions and 0 deletions

View File

@@ -10,6 +10,14 @@ if (isset($_POST["verify_tfa_login"])) {
}
}
if (isset($_POST["quick_release"])) {
quarantine('quick_release', $_POST["quick_release"]);
}
if (isset($_POST["quick_delete"])) {
quarantine('quick_delete', $_POST["quick_delete"]);
}
if (isset($_POST["login_user"]) && isset($_POST["pass_user"])) {
$login_user = strtolower(trim($_POST["login_user"]));
$as = check_login($login_user, $_POST["pass_user"]);