From e0f88d0030a9206bf9f650a995f4f0fbde90f5cb Mon Sep 17 00:00:00 2001 From: Caribana Date: Mon, 23 Jul 2018 14:59:18 +0200 Subject: [PATCH] Changed to non-edit mode and a small typo in comment --- tokensignin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tokensignin.php b/tokensignin.php index acc3af2e..2cd5308b 100644 --- a/tokensignin.php +++ b/tokensignin.php @@ -41,8 +41,8 @@ if ($payload) { $_SESSION['name'] = $payload['name']; // Is this user admin $_SESSION['admin'] = ''; - // Set to 1 to allow noramle users to add new entries en edit existing - $_SESSION['allowedit'] = 1; + // Set to 1 to allow normal users to add new entries en edit existing + // $_SESSION['allowedit'] = 1; if( array_key_exists($userid, $admins)) { $_SESSION['admin'] = 1; }