TUrn on sessions and auth
This commit is contained in:
parent
e0d2a14f3c
commit
fadfc01d81
|
@ -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' => [
|
||||||
|
|
Loading…
Reference in New Issue