mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 08:54:32 +00:00
PVE/Service/pveproxy.pm: avoid using PVE::REST
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
7da6575ea3
commit
ddaefd5c65
@ -181,7 +181,7 @@ sub get_index {
|
||||
$lang = $newlang;
|
||||
}
|
||||
}
|
||||
my $ticket = PVE::REST::extract_auth_cookie($cookie);
|
||||
my $ticket = $server->extract_auth_cookie($cookie);
|
||||
if (($username = PVE::AccessControl::verify_ticket($ticket, 1))) {
|
||||
$token = PVE::AccessControl::assemble_csrf_prevention_token($username);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user