projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6509c7
)
delete session
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 28 Oct 2006 00:36:34 +0000
(
00:36
+0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 28 Oct 2006 00:36:34 +0000
(
00:36
+0000)
IkiWiki/CGI.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/CGI.pm
b/IkiWiki/CGI.pm
index fcf5e0dd8c42a5ba4c7297e1edf96807ba6a04d1..8b01ca3f89ab004a81d04d4066d081c3d3baea65 100644
(file)
--- a/
IkiWiki/CGI.pm
+++ b/
IkiWiki/CGI.pm
@@
-693,6
+693,7
@@
sub cgi () { #{{{
if (userinfo_get($session->param("name"), "banned")) {
print $q->header(-status => "403 Forbidden");
+ $session->delete();
print "You are banned.";
exit;
}