Skip to content

Commit

Permalink
Update edit_user.php
Browse files Browse the repository at this point in the history
  • Loading branch information
cowpod committed Nov 12, 2024
1 parent bb5baed commit 1452d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/edit_user.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
if (!$_SESSION['user']||$_SESSION['user']=="") {
die('{"status":"error","message":"Unauthorized request or login session has expired."}');
}
if ($_SESSION['privileged']) {
if (!$_SESSION['privileged']) {
die('{"status":"error","message":"Insufficient permission!"}');
}

Expand Down

0 comments on commit 1452d48

Please sign in to comment.