mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Revert "Move call to try_login to login_form."
This reverts commit 77d93c4946
.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
3de0a2ade3
commit
a386ab5835
2 changed files with 3 additions and 6 deletions
|
@ -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');
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
<?php
|
||||
include_once('acctfuncs.inc');
|
||||
$login = try_login();
|
||||
$login_error = $login['error'];
|
||||
?>
|
||||
|
||||
<span id="login_bar">
|
||||
<?php
|
||||
if (isset($_COOKIE["AURSID"])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue