How to pass the third parameter to UserIdentity on login authentication

Comparing #4 with #5

Revision #5 was created by Rohit Suthar Rohit Suthar on Dec 9, 2014, 8:30:15 AM.

updated codes

Content

[...]
}

else {
$this->_id = $login->id;
$this->username = $login->email;
$this->_first_name = $
userlogin->first_name; $this->setState('firstName', $userlogin->first_name);
$this->setState('userType', $this->usertype); //Store user type for sepration
[...]
Multi user login facility from single login from. Try this, working great in yii 1.1