Wednesday, June 23, 2010

The best way to quick login from front page and Auth issue

Dear friends, I'm trying to set up the quick login form in my app on a
front page (like on twitter). My problem is: I'm using Security
component and Auth (of course). Since I'm logging not from myapp/users/
login page I'm black-holed (404). The only way I've found so far is :

$this->Security->validatePost = false;

and it's not a good solution due to CSRF. Any help, hint and so on a
very welcome.

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: