hi, look at here: http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html -> Identifying users and logging them in -> read the notice: Warning -> In 2.0 $this->Auth->login($this->request->data) will log the user in with whatever data is posted, whereas in 1.3 $this->Auth->login($this->data) would try to identify the user first and only log in when successful.
________________________________ Von: huoxito <huox...@gmail.com> An: cake-php@googlegroups.com Gesendet: 1:48 Mittwoch, 16.November 2011 Betreff: Cake 2.0 Auth Component login method Hi there everybody! Could anyone please tell me why 2.0 Auth Component login method logs in the user whatever data is posted, even if the user is not on the database? I mean is this really a good idea? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php