From ab41125a087fdf8b5a8b8d5a2d6cbf8dbcd999eb Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 5 Mar 2015 17:36:01 +0100 Subject: [PATCH] Remove useless cookie --- vroom.pl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/vroom.pl b/vroom.pl index 66aa42c..99e6cce 100755 --- a/vroom.pl +++ b/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',