ログインでusernameでなくemailを使う。

ver: cake 2.4.2

Controller/AppController.php

    public $components = array(
        'Auth' => array(
        	'authenticate' => array(
            'Form' => array(
                'fields' => array('username' => 'email')
	            )
	        ),
        ),
    );