Delete SSO cookie with Nginx (#1630)
This commit is contained in:
parent
5a03e518c8
commit
84913b36eb
|
@ -71,7 +71,7 @@ sub handler {
|
|||
my $cn = $self->Lemonldap::NG::Handler::Main::tsv->{cookieName};
|
||||
$cookie =~ s/\b$cn(http)?=[^,;]*[,;\s]*//og;
|
||||
my @convertedHdrs =
|
||||
( 'Content-Length' => 0, Cookie => ( $req->env->{HTTP_COOKIE} // '' ) );
|
||||
( 'Content-Length' => 0, Cookie => ( $cookie // '' ) );
|
||||
my $i = 0;
|
||||
while ( my $k = shift @$hdrs ) {
|
||||
my $v = shift @$hdrs;
|
||||
|
|
Loading…
Reference in New Issue
Block a user