Well I'm doing an application where after I log in I want to be
directed to a standard module. But I'm with a doubt in loginRedirect
where I Seto code $ this-> Auth-> loginRedirect = array ('controller'
=> 'users', 'action' => 'area_restrita'); just not working.
beforeFilter function () (
Security: setHash ('sha256') / / we set the algorithm that we use, the
default is sha1
$ This-> Auth-> loginRedirect = array ('controller' => 'users',
'action' => 'area_restrita');
$ This-> Auth-> authError = htmlentities ('Restricted Area! Log'); / /
Message when entering restricted area
$ This-> Auth-> Loginerror = htmlentities ('Username and password do
not match! ") / / Message when not authenticate
)
If someone can give a hint I'm waiting.
Atenciosamente,
Alexsandro André
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment