]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
delete session
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 28 Oct 2006 00:36:34 +0000 (00:36 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 28 Oct 2006 00:36:34 +0000 (00:36 +0000)
IkiWiki/CGI.pm

index fcf5e0dd8c42a5ba4c7297e1edf96807ba6a04d1..8b01ca3f89ab004a81d04d4066d081c3d3baea65 100644 (file)
@@ -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;
        }