Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function initialize()
- {
- parent::initialize();
- $this->loadComponent('RequestHandler');
- $this->loadComponent('Flash');
- $this->loadComponent('Auth', [
- 'loginRedirect' => [
- 'controller' => 'Usuarios',
- 'action' => 'index'
- ],
- 'logoutRedirect' => [
- 'controller' => 'Pages',
- 'action' => 'login',
- 'home'
- ]
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement