Can anyone help? I'd like to suppress the "You are not authorized to access that location" message when I try to visit a page that I'm not authorised for.
I'm happy with the redirection to the login page, I'd just like to hide the error. I can't hide it with CSS, because the same CSS selector is also used to display the "Login failed. Invalid username or password." message, which I want to keep. If I set $this->Auth->authError to empty or NULL, CakePHP overrides me and displays the default message. Thanks, Julian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
