Skip to content

Commit ef4678f

Browse files
Fixed bugs
1 parent 74b296a commit ef4678f

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
CHANGELOG
22
==============
33

4+
1.0.0-rc2
5+
-----------------
6+
* Fixed bugs
7+
48
1.0.0-rc1
59
-----------------
610
* Changes in the administrative part

models/UserAuthClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function attributeLabels()
8484
*/
8585
public function getUser()
8686
{
87-
return $this->hasOne(User::className(), ['id' => 'user_id']);
87+
return $this->hasOne(\Yii::$app->user->identityClass, ['id' => 'user_id']);
8888
}
8989

9090
/**

0 commit comments

Comments
 (0)