Remove useless cookie

master
Daniel Berteaud 10 years ago
parent 9b1de92ba5
commit ab41125a08
  1. 8
      vroom.pl

@ -2088,14 +2088,6 @@ get '/:room' => sub {
}
$self->create_etherpad_session($room);
}
# Short life cookie to negociate a session with the signaling server
$self->cookie(vroomsession => encode_base64(
$self->session('name') . ':' . $data->{name} . ':' . $data->{token}, ''),
{
expires => time + 60,
path => '/'
}
);
# Add this user to the participants table
if (!$self->add_participant_to_room($room, $self->session('name'))){
return $self->render('error',

Loading…
Cancel
Save