Create session when accessing /

SO room creators get the correct role
master
Daniel Berteaud 9 years ago
parent 01b18937af
commit b8e1321af2
  1. 1
      vroom.pl

@ -1427,6 +1427,7 @@ Mojo::IOLoop->recurring( 3600 => sub {
# Route / to the index page # Route / to the index page
get '/' => sub { get '/' => sub {
my $self = shift; my $self = shift;
$self->login;
$self->stash( $self->stash(
page => 'index', page => 'index',
etherpad => ($ec) ? 'true' : 'false' etherpad => ($ec) ? 'true' : 'false'

Loading…
Cancel
Save