Define only what is allowed for column restrictions

This commit is contained in:
Frederic Guillot
2016-09-10 23:12:38 -04:00
parent 44f680cf2f
commit a0227cad69
12 changed files with 31 additions and 24 deletions

View File

@@ -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();