//Whenever your pages are public, you could be running into a risk of bots exessively running this page.
//This page has tons of queries to run to return the real-time stats, if I were you, I would require login first as it's already done for you.
if (!Auth::LoggedIn()) {
$this->set('message', 'You must be logged in to view this page!');
$this->render('core_error.tpl');
return;
}
//Whenever your pages are public, you could be running into a risk of bots exessively running this page.
//This page has tons of queries to run to return the real-time stats, if I were you, I would require login first as it’s already done for you.
if (!Auth::LoggedIn()) {
$this->set(‘message’, ‘You must be logged in to view this page!’);
$this->render(‘core_error.tpl’);
return;
}