Commit 84913b36 authored by Christophe Maudoux's avatar Christophe Maudoux

Delete SSO cookie with Nginx (#1630)

parent 5a03e518
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment