摘要: From the code generated by the yiic, as we know, using these code can only get id and username from Yii::app()->user after logined:$identity=newUserIdentity($_POST['LoginForm']['username'],$_POST['LoginForm']['password']);Yii::app()->user->login($identity);bu 阅读全文
posted @ 2012-09-07 14:01 DavidHHuan 阅读(432) 评论(0) 推荐(0) 编辑