TUrn on sessions and auth
This commit is contained in:
parent
e0d2a14f3c
commit
fadfc01d81
|
@ -34,6 +34,17 @@ class AppController extends Controller {
|
|||
use CrudControllerTrait;
|
||||
|
||||
public $components = [
|
||||
'Session',
|
||||
'Auth' => [
|
||||
'authenticate' => [
|
||||
'Form' => [
|
||||
'fields' => [
|
||||
'username' => 'Username' ,
|
||||
'password' => 'Password'
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
'RequestHandler',
|
||||
'Crud.Crud' => [
|
||||
'actions' => [
|
||||
|
|
Loading…
Reference in New Issue