Yii-用户选择';下次记得我';复选框
我有一个关于记住我的问题,我已经将'allowAutoLogin'=>设置为trueYii-用户选择';下次记得我';复选框,yii,Yii,我有一个关于记住我的问题,我已经将'allowAutoLogin'=>设置为true 'components'=>array( 'user'=>array( // enable cookie-based authentication 'allowAutoLogin'=>true, } ,但当用户在登录表单中选中“下次记住我”复选框时,仍会触发此错误:WebUser.allowAutoLogin必须设置为true才能使用基于cookie的
'components'=>array(
'user'=>array(
// enable cookie-based authentication
'allowAutoLogin'=>true,
}
,但当用户在登录表单中选中“下次记住我”复选框时,仍会触发此错误:WebUser.allowAutoLogin必须设置为true才能使用基于cookie的身份验证
请提供帮助。生成的cookie是否正确?你可以使用浏览器或Firefox浏览器的WebDeveloper插件来查看cookies。用右括号代替右括号是打字错误吗?