summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-11-21 15:58:55 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2012-11-24 13:20:35 +0100
commite383205edabff92f7f7c7750cd0038774c823c6b (patch)
tree545422d8bbb439aa0e58800b65aadfa8489d17db
parent0e923bd11e71a6f722e67ed59094bd9f6f71da67 (diff)
downloadaur-e383205edabff92f7f7c7750cd0038774c823c6b.tar.gz
aur-e383205edabff92f7f7c7750cd0038774c823c6b.tar.xz
login.php: Properly link to logout page when already logged in
Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--web/html/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/login.php b/web/html/login.php
index 9b3715ba..e458fec0 100644
--- a/web/html/login.php
+++ b/web/html/login.php
@@ -17,7 +17,7 @@ html_header('AUR ' . __("Login"));
<?php if (isset($_COOKIE["AURSID"])): ?>
<p>
<?= __("Logged-in as: %s", '<strong>' . username_from_sid($_COOKIE["AURSID"]) . '</strong>'); ?>
- <a href="<?php get_uri('/logout/'); ?>">[<?= __("Logout"); ?>]</a>
+ <a href="<?= get_uri('/logout/'); ?>">[<?= __("Logout"); ?>]</a>
</p>
<?php elseif (!$DISABLE_HTTP_LOGIN || (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'])): ?>
<form method="post" action="<?= get_uri('/login') ?>">