diff options
-rw-r--r-- | IkiWiki/CGI.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index fcf5e0dd8..8b01ca3f8 100644 --- 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; } |