You have Users plugin. User model is not found and Cake creates an instance
of AppModel.
(this odd behavior enables you to query db tables without having to create
model first.)
Make sure "class User extends UsersAppModel"
and configure Auth to use "Users.User" as model name:
$this->Auth->authenticate = array(
'Form' => array(
'userModel' => 'Users.User',
'fields' => array('username' => 'email', 'password' =>
'password'),
'scope' => array('User.active' => 1)
)
);
in AppController::beforeFilter() or elsewhere.
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php