From a37a616967ce7901fe499de42c2da126cc2df783 Mon Sep 17 00:00:00 2001 From: Lukas Metzger Date: Tue, 2 Feb 2016 21:05:37 +0100 Subject: [PATCH] Fixed bug in install.php --- api/install.php | 5 ----- 1 file changed, 5 deletions(-) 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 (