Updated to support a demo user

This commit is contained in:
Neil Lathwood
2015-02-16 23:45:28 +00:00
parent f0b0ed4468
commit 2cb5d727b4
20 changed files with 57 additions and 35 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
* the source code distribution for details.
*/
if ($_SESSION['userlevel'] == '10')
if ($_SESSION['userlevel'] >= '10')
{
if(empty($_POST['token'])) {
$_POST['token'] = bin2hex(openssl_random_pseudo_bytes(16));