summaryrefslogtreecommitdiffstats
path: root/web/template/login_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/login_form.php')
-rw-r--r--web/template/login_form.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/template/login_form.php b/web/template/login_form.php
index 4bfc579a..727afd0a 100644
--- a/web/template/login_form.php
+++ b/web/template/login_form.php
@@ -2,6 +2,9 @@
<?php
if (isset($_COOKIE["AURSID"])) {
print __("Logged-in as: %h%s%h", array("<b>", username_from_sid($_COOKIE["AURSID"]), "</b>"));
+?>
+<br /><a href="/logout.php"><?php print __("Logout"); ?></a>
+<?php
}
else {
if ($login_error) {