Merge branch 'revert-c3a01c04' into 'v2.0'
Revert "Concatenate pdata and lemon cookies in the same set-cookie header (#1863)" See merge request lemonldap-ng/lemonldap-ng!89
This commit is contained in:
commit
38853c38e6
|
@ -83,10 +83,7 @@ sub handler {
|
|||
: ()
|
||||
),
|
||||
);
|
||||
my %headers = @{ $res->[1] };
|
||||
$headers{'Set-Cookie'} = $self->cookie(%v) . ',' . $headers{'Set-Cookie'};
|
||||
$headers{'Set-Cookie'} =~ s/,$//r;
|
||||
@{ $res->[1] } = %headers;
|
||||
push @{ $res->[1] }, 'Set-Cookie', $self->cookie(%v);
|
||||
}
|
||||
return $res;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user