Commit 9819bdc4 authored by Dietmar Maurer's avatar Dietmar Maurer

remove unused code

Signed-off-by: 's avatarDietmar Maurer <dietmar@proxmox.com>
parent 5a885216
...@@ -341,8 +341,6 @@ sub proxy_request { ...@@ -341,8 +341,6 @@ sub proxy_request {
PVEClientIP => $clientip, PVEClientIP => $clientip,
}; };
my $cookie_name = 'PVEAuthCookie';
$headers->{'cookie'} = PVE::REST::create_auth_cookie($ticket) if $ticket; $headers->{'cookie'} = PVE::REST::create_auth_cookie($ticket) if $ticket;
$headers->{'CSRFPreventionToken'} = $token if $token; $headers->{'CSRFPreventionToken'} = $token if $token;
$headers->{'Accept-Encoding'} = 'gzip' if $reqstate->{accept_gzip}; $headers->{'Accept-Encoding'} = 'gzip' if $reqstate->{accept_gzip};
......
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