Rename controllers
This commit is contained in:
@@ -39,7 +39,7 @@ class AuthenticationMiddleware extends BaseMiddleware
|
||||
$this->response->text('Not Authorized', 401);
|
||||
} else {
|
||||
$this->sessionStorage->redirectAfterLogin = $this->request->getUri();
|
||||
$this->response->redirect($this->helper->url->to('auth', 'login'));
|
||||
$this->response->redirect($this->helper->url->to('AuthController', 'login'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user