diff options
Diffstat (limited to 'pages/content/Login.xml')
-rw-r--r-- | pages/content/Login.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/content/Login.xml b/pages/content/Login.xml index 6bbaf7c..4e21b3f 100644 --- a/pages/content/Login.xml +++ b/pages/content/Login.xml @@ -10,9 +10,9 @@ <code> <![CDATA[ <?PHP + Uses('user', 'links', 'message', 'util'); + if($_POST['name'] && $_POST['password'] && $_POST['page']) { - Uses('user', 'links', 'message', 'util'); - if($GLOBALS['user']->Login(Unquote($_POST['name']), Unquote($_POST['password']))) { header('Location: ' . $GLOBALS['links']->GetNeonLink($_POST['page'], null, false)); exit(); |