delete session
parent
b6509c74a9
commit
a1eaeffe5e
|
@ -693,6 +693,7 @@ sub cgi () { #{{{
|
||||||
|
|
||||||
if (userinfo_get($session->param("name"), "banned")) {
|
if (userinfo_get($session->param("name"), "banned")) {
|
||||||
print $q->header(-status => "403 Forbidden");
|
print $q->header(-status => "403 Forbidden");
|
||||||
|
$session->delete();
|
||||||
print "You are banned.";
|
print "You are banned.";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue