Hi, I'm using the Auth component to handle logins, and I've noticed problem.
If a user tries to access an area that requires a login, then they are automatically redirected to /user/login. If the user then browses away from this page, and then later returns to this page and logs in. They are redirected back to the original referral page. For example; http://www.example.com/members - requires a login, so it redirects to http://www.example.com/users/login - the user ignores the login request, and goes to this page http://www.example.com/documents - the user then returns to the login from a menu http://www.example.com/users/login - the user completes the login http://www.example.com/members - the user is redirect back to here. The user did not login from the members section, but they are redirect back there. I only want the user to be redirect back to the members page if that is the referral, otherwise I want the user's profile to be the default. Any ideas how to control this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
