Don't prompt for password if invited

Also bypass the lock settings as if you are invited, it probably means the chairman want you to join
master
Daniel Berteaud 9 years ago
parent f685fdbc78
commit 21dc1a9e9b
  1. 7
      vroom.pl

@ -2339,6 +2339,13 @@ get '/:room' => sub {
room => $room, room => $room,
); );
} }
if ($self->check_invite_token($room,$token)){
$self->associate_key_to_room(
room => $room,
key => $self->session('key'),
role => 'participant'
);
}
# pad doesn't exist yet ? # pad doesn't exist yet ?
if ($optf->{etherpad} && !$data->{etherpad_group}){ if ($optf->{etherpad} && !$data->{etherpad_group}){
$self->create_pad($room); $self->create_pad($room);

Loading…
Cancel
Save