摘要: 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 阅读(302) 评论(0) 编辑