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
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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 {