Update routes to use CSRF protection

This commit is contained in:
Dane Everitt 2016-01-12 21:50:43 -05:00
parent 98b3355158
commit 2def94c958
5 changed files with 18 additions and 40 deletions

View file

@ -31,7 +31,8 @@ class BaseRoutes {
$router->group([
'profix' => 'account',
'middleware' => [
'auth'
'auth',
'csrf'
]
], function () use ($router) {
$router->get('account', [
@ -50,7 +51,8 @@ class BaseRoutes {
$router->group([
'prefix' => 'account/totp',
'middleware' => [
'auth'
'auth',
'csrf'
]
], function () use ($router) {
$router->get('/', [