thyseus / yii-user-management

a user management module collection for the yii framework
186 stars 122 forks source link

YumAuthController.php - loginByDebug - $user = $this->getUser($this->loginForm->username); #199

Open d3artagnan opened 9 years ago

d3artagnan commented 9 years ago

Scenario: config: debug => true

then use login widget, for quick login input: username: use not exists user name password: any

$user = $this->getUser($this->loginForm->username); $identity = new YumUserIdentity($user->username, 'foobar');

$user will be null, since $this->getUser will have no value