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'); diff --git a/web/template/login_form.php b/web/template/login_form.php index e1192c06..70c24c71 100644 --- a/web/template/login_form.php +++ b/web/template/login_form.php @@ -1,9 +1,3 @@ - -