diff --git a/wire/core/admin.php b/wire/core/admin.php index 350b4582..e991e165 100644 --- a/wire/core/admin.php +++ b/wire/core/admin.php @@ -135,7 +135,7 @@ if($ajax) ob_start(); if($page->process && $page->process != 'ProcessPageView') { try { - if($demo && !in_array($page->process, array('ProcessLogin'))) { + if($demo && $page->process != 'ProcessLogin') { if(count($_POST)) $wire->error("Features that use POST variables are disabled in this demo"); foreach($_POST as $k => $v) unset($_POST[$k]); foreach($_FILES as $k => $v) unset($_FILES[$k]);