Define only what is allowed for column restrictions
This commit is contained in:
@@ -26,9 +26,9 @@ class PostAuthenticationMiddleware extends BaseMiddleware
|
||||
|
||||
if ($this->request->isAjax()) {
|
||||
$this->response->text('Not Authorized', 401);
|
||||
} else {
|
||||
$this->response->redirect($this->helper->url->to('TwoFactorController', 'code'));
|
||||
}
|
||||
|
||||
$this->response->redirect($this->helper->url->to('TwoFactorController', 'code'));
|
||||
}
|
||||
|
||||
$this->next();
|
||||
|
||||
Reference in New Issue
Block a user