由于某些原因,范围条件不起作用,我无法弄清楚为什么需要您的帮助
我的应用控制器
public $components = array(
'Acl',
'Auth' => array(
'authenticate' => array(
'Form' => array(
'fields' => array('username' => 'email'),
'scope' => array('User.is_active' => 1)
)
)
),
'Session'
);
用户可以登录他是否活跃的任何内容
也试过
array('User.is_active' => '1')
array('User.is_active' => true)
array('User.is_active' => 'true')