Hi,

Just to confirm if this is a bug (looks like it).

My users controller is CoreUsers and when I set

$this->Auth->loginAction = array('controller'=>'CoreUsers',
'action'=>'login');

The url generated by AuthComponent is

/CoreUsers/login


When I do

echo $form->create('CoreUser', array('controller'=>'CoreUsers',
'action'=>'login'));

the url is

/core_users/login

This should generate the same url and because it's not the
AuthComponent fails at

if ($loginAction == $url) { (around line 300)

and the login doesn't work.


Thx for the feedback because If this is a real bug I will post it on
the trac.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to