Difference between #4 and #5 of
How to pass the third parameter to UserIdentity on login authentication

Revision #5 has been created by Rohit Suthar on Dec 9, 2014, 8:30:15 AM with the memo:

updated codes
« previous (#4)

Changes

Title unchanged

How to pass the third parameter to UserIdentity on login authentication

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

UserIdentity, usertype, CUserIdentity, mutiple login, muti-login, LoginForm

Content changed

[...]
}

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
 
2 0
5 followers
Viewed: 35 209 times
Version: 1.1
Category: How-tos
Written by: Rohit Suthar
Last updated by: Rohit Suthar
Created on: Dec 4, 2014
Last updated: 9 years ago
Update Article

Revisions

View all history