diff --git a/action.php b/action.php index 66035ae..489b287 100644 --- a/action.php +++ b/action.php @@ -13,10 +13,6 @@ if ($VARS['action'] !== "signout") { dieifnotloggedin(); } -if ((new User($_SESSION['uid']))->hasPermission("ADMIN") == FALSE) { - die("You don't have permission to be here."); -} - /** * Redirects back to the page ID in $_POST/$_GET['source'] with the given message ID. * The message will be displayed by the app.