Create session when accessing /

SO room creators get the correct role
This commit is contained in:
Daniel Berteaud 2015-07-15 22:26:25 +02:00
parent 01b18937af
commit b8e1321af2
1 changed files with 1 additions and 0 deletions

View File

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