summaryrefslogtreecommitdiff
path: root/public/users.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/users.php')
-rw-r--r--public/users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/users.php b/public/users.php
index 95a7958..baebcb4 100644
--- a/public/users.php
+++ b/public/users.php
@@ -5,8 +5,8 @@ include_once "../src/partials.php";
include_once "../src/utils.php";
include_once "../src/accounts.php";
include_once "../src/alert.php";
+
authorize_user();
-session_start();
$is_json = isset($_SERVER["HTTP_ACCEPT"]) && $_SERVER["HTTP_ACCEPT"] == "application/json";