Hi everyone,

I'm using the Auth component and here is my beforeFilter() in my
controller:

function beforeFilter() {
        $this->Auth->allow('*');
        $this->Auth->deny('add', 'delete', 'edit');
        $this->Auth->loginAction = '/users/login';
}

Now the problem is if I go to /controller/testing123, instead of
giving me a 404 error, Auth takes over and redirects me to
loginAction. I don't want people stumbling across my login form
accidentally.

How can I get 404 errors to start working again? Thanks!
--~--~---------~--~----~------------~-------~--~----~
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