TUrn on sessions and auth

This commit is contained in:
Isaac Connor 2015-06-30 11:27:33 -04:00
parent e0d2a14f3c
commit fadfc01d81
1 changed files with 11 additions and 0 deletions

View File

@ -34,6 +34,17 @@ class AppController extends Controller {
use CrudControllerTrait; use CrudControllerTrait;
public $components = [ public $components = [
'Session',
'Auth' => [
'authenticate' => [
'Form' => [
'fields' => [
'username' => 'Username' ,
'password' => 'Password'
]
]
]
],
'RequestHandler', 'RequestHandler',
'Crud.Crud' => [ 'Crud.Crud' => [
'actions' => [ 'actions' => [