From 8cbee9dff45227aeebdac7f4a0d90eea65b6fa0c Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Mon, 11 Mar 2024 22:56:48 +0000 Subject: [PATCH] Update file upload.php --- html/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/upload.php b/html/upload.php index dc5903f7..3931094f 100644 --- a/html/upload.php +++ b/html/upload.php @@ -2,7 +2,7 @@ require "../include/variables.php"; require "../include/functions.php"; -if($_SESSION['role'] < 3) { +if($_SESSION['role'] < 1) { header("Location: login.php"); http_response_code(404); die();