From 77d93c4946fabcda417b6a5672d881c64e11fb78 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Thu, 4 Dec 2008 03:25:42 -0500 Subject: Move call to try_login to login_form. Signed-off-by: Loui Chang --- web/lib/aur.inc | 3 --- web/template/login_form.php | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'web') diff --git a/web/lib/aur.inc b/web/lib/aur.inc index e43ddf6..3d0f3e0 100644 --- a/web/lib/aur.inc +++ b/web/lib/aur.inc @@ -343,9 +343,6 @@ function html_header($title="") { global $LANG; global $SUPPORTED_LANGS; - $login = try_login(); - $login_error = $login['error']; - $title = htmlspecialchars($title, ENT_QUOTES); include('header.php'); diff --git a/web/template/login_form.php b/web/template/login_form.php index 70c24c7..e1192c0 100644 --- a/web/template/login_form.php +++ b/web/template/login_form.php @@ -1,3 +1,9 @@ + +