Skip to content
Snippets Groups Projects
Commit 72062921 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

fix timeout on unauthenticated access to account-specific pages

parent 8c4df880
No related branches found
No related tags found
No related merge requests found
......@@ -1162,7 +1162,11 @@ post '/action' => sub {
under sub {
my ($self) = @_;
return $self->is_user_authenticated;
if ( $self->is_user_authenticated ) {
return 1;
}
$self->render('login');
return undef;
};
get '/account' => sub {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment