Hi there,
Yesterday, I posted a question of the same title but after trying the resolution offered, I still get the same issue. The URL is changed to https://10.10.22.35/host_ui/index instead of https://10.10.22.35/login/new - as you can see from the code below, I've changed my dispatch forward call to a response redirect. Any thoughts around this? Thanks.
class ControllerBase extends \Phalcon\Mvc\Controller
{
    /**
     * Kicks in before a route is executed
     *
     * @param $dispatcher
     * @return bool
     */
    public function beforeExecuteRoute($dispatcher)
    {
        if (!$this->session->has('user')) {
            if ($dispatcher->getControllerName() == 'login' && $dispatcher->getActionName() == 'new'
                || $dispatcher->getActionName() == 'create') {
                return;
            }
            $this->response->redirect('login/new');
        }
    }
}