amnah / yii2-user

Yii2 user authentication module
MIT License
253 stars 104 forks source link

use the User class in restful app #172

Closed awebc closed 8 years ago

awebc commented 8 years ago

HI I use your User class in restful application my restful api , get json data , with author.profile , so it have a problem in your code : $profile = $this->module->model("Profile"); to get user profile , must have to config one module . But do not need to config one user module in my restful api app

awebc commented 8 years ago

so I override the getProfile() in my user class. sorry ,it is a bad issues