Advertisement
Guest User

Untitled

a guest
Nov 19th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. Auth => object(Cake\Controller\Component\AuthComponent) {
  2.  
  3. 'components' => [
  4. (int) 0 => 'RequestHandler',
  5. (int) 1 => 'Flash'
  6. ],
  7. 'implementedEvents' => [
  8. 'Controller.initialize' => 'authCheck',
  9. 'Controller.startup' => 'startup'
  10. ],
  11. '_config' => [
  12. 'authenticate' => [
  13. 'Form' => [
  14. 'userModel' => 'Gestionnaires',
  15. 'fields' => [
  16. 'username' => 'email',
  17. 'password' => 'password'
  18. ]
  19. ]
  20. ],
  21. 'authorize' => null,
  22. 'ajaxLogin' => null,
  23. 'flash' => null,
  24. 'loginAction' => [
  25. 'controller' => 'etudes',
  26. 'action' => 'index'
  27. ],
  28. 'loginRedirect' => [
  29. 'controller' => 'etudes',
  30. 'action' => 'index'
  31. ],
  32. 'logoutRedirect' => [
  33. 'controller' => 'gestionnaires',
  34. 'action' => 'login'
  35. ],
  36. 'authError' => null,
  37. 'unauthorizedRedirect' => true,
  38. 'storage' => 'Session',
  39. 'checkAuthIn' => 'Controller.startup'
  40. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement