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();