git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaa476c
)
logout: clear user var to prevent disallowed edit option
v1.3
author
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 11 Jul 2017 16:13:46 +0000
(18:13 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 12 Jul 2017 02:46:06 +0000
(
04:46
+0200)
logout.php
patch
|
blob
|
history
diff --git
a/logout.php
b/logout.php
index 5b76572c40c5b4b25c199ce0778351fb8f68f8aa..112bb9b0b053dd93706a234789547c93f8487722 100644
(file)
--- a/
logout.php
+++ b/
logout.php
@@
-4,6
+4,7
@@
http_response_code(401);
// fallback page shown on authentication failure
include 'head.inc.php';
+$Admin = $User = FALSE; // ignore old user headers
?>
<h2>Niet ingelogd</h2>
<p>Voor sitebeheer moet worden ingelogd met een gerechtigde gebruiker.</p>