From b8e1321af254f64c7051035d5f5ab2d31a8cf2d1 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 15 Jul 2015 22:26:25 +0200 Subject: [PATCH] Create session when accessing / SO room creators get the correct role --- vroom.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/vroom.pl b/vroom.pl index 5630864..fc42559 100755 --- a/vroom.pl +++ b/vroom.pl @@ -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'