diff --git a/api/install.php b/api/install.php index 35c1a04..701b38f 100644 --- a/api/install.php +++ b/api/install.php @@ -24,11 +24,6 @@ if(file_exists("../config/config-user.php")) { //Get input $input = json_decode(file_get_contents('php://input')); -if(!isset($input->csrfToken) || $input->csrfToken !== $_SESSION['csrfToken']) { - echo "Permission denied!"; - exit(); -} - //Database command $sql = " CREATE TABLE IF NOT EXISTS domains (