Hi guys,
I have tried to found how to stop action in controller. Many people suggested to use beforeExcecuteRoute() but i use another way like this:
if (!$this->authentication->isLoggedin()) {
/* Redir to login */
$this->response->redirect( $this->url->get('authentication/login') )->send();
exit;
//return false;
}
but i dont know about sideEffect of that code. maybe we can discus about that here.. :D