Where Isguest Flag Is Being Set?


I searched all the files in my yii project with yii-user module, but i cannot find where in which model the user->isGuest flag is being set?

It’s not set anywhere, CWebUser::getIsGuest() just checks if the user’s id is set. The id is set through Yii::app()->user->login().