limit spice ticket length to 59 charachters

This commit is contained in:
Dietmar Maurer 2013-06-25 12:47:33 +02:00
parent 288eeea8ae
commit 5ecf258f2c

View File

@ -1371,6 +1371,9 @@ __PACKAGE__->register_method({
my $ticket = PVE::AccessControl::assemble_spice_ticket($authuser, $authpath);
# limit ticket length to 59 charachters
$ticket = substr($ticket, 0, 59);
my $timeout = 10;
# Note: this only works if VM is on local node