Bingo! By reading the source of AuthComponent and sprinkling
"debug($var); exit;" here and there I tracked after its construction
that $this->_authenticateObjects looked like this:

array(
        (int) 0 => object(FormAuthenticate) {
                settings => array(
                        'fields' => array(
                                'password' => '*****',
                                'username' => 'username'
                        ),
                        'userModel' => 'Users',
                        'scope' => array(),
                        'recursive' => (int) 0
                )
        }
)

The model was still Users! So a change was trivial:
in MilliController.php.:
changed            'authenticate' => array('Form' ),
to this:               'authenticate' => array('Form' =>
array('userModel' => 'Milli')),

for now the logging in passes through.
The docs for auth are severely lacking.

-- 
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

Reply via email to