In CakePHP\'s documentation I\'ve seen from version 2.2 has been added the configuration key \'contain\' for the AuthComponent:
The core authentication ob
you were almost there. Just add the "fields" key on your first example, like this :
'Auth' => array(
'authenticate' => array(
'Form' => array(
'contain' => array('User' => array('fields'=>array('id', 'full_name'))),
'fields' => array('username' => 'email'),
)
)
)
NB : while this is syntaxically correct, I do not see why 'User' should contain 'User'... well YMMV