summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorCallan Barrett <wizzomafizzo@gmail.com>2008-12-20 10:11:46 +0100
committerLoui Chang <louipc.ist@gmail.com>2008-12-20 18:49:28 +0100
commita386ab583583dafb3e566c019e4669f31b48d96e (patch)
treeaacd2e7e3879cdc84a714448c5d960ab0b1f28de /web/lib
parent3de0a2ade30ff7d21dc5f842cda2bc8025181974 (diff)
downloadaur-a386ab583583dafb3e566c019e4669f31b48d96e.tar.gz
aur-a386ab583583dafb3e566c019e4669f31b48d96e.tar.xz
Revert "Move call to try_login to login_form."
This reverts commit 77d93c4946fabcda417b6a5672d881c64e11fb78. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/aur.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index 3d0f3e0d..e43ddf62 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -343,6 +343,9 @@ function html_header($title="") {
global $LANG;
global $SUPPORTED_LANGS;
+ $login = try_login();
+ $login_error = $login['error'];
+
$title = htmlspecialchars($title, ENT_QUOTES);
include('header.php');