mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Logout now redirects instead of displaying a page.
Thanks to Alex for the heads-up. Signed-off-by: tardo <tardo@nagi-fanboi.net>
This commit is contained in:
parent
01911dce95
commit
03a44d4900
1 changed files with 2 additions and 3 deletions
|
@ -19,9 +19,8 @@ if (isset($_COOKIE["AURSID"])) {
|
||||||
setcookie("AURLANG", "", time() - (60*60*24*30), "/");
|
setcookie("AURLANG", "", time() - (60*60*24*30), "/");
|
||||||
}
|
}
|
||||||
|
|
||||||
html_header(); # print out the HTML header
|
header('Location: index.php');
|
||||||
print __("You have been successfully logged out.")."<br />\n";
|
exit;
|
||||||
|
|
||||||
|
|
||||||
html_footer("\$Id$");
|
html_footer("\$Id$");
|
||||||
# vim: ts=2 sw=2 noet ft=php
|
# vim: ts=2 sw=2 noet ft=php
|
||||||
|
|
Loading…
Add table
Reference in a new issue