yii2mod / yii2-user

Flexible user registration and authentication module for Yii2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make UserModel extendable

nilsenpaul opened this issue · comments

I would like to be able to extend the UserModel, in such a way that I could, for instance, let the last_login column be of type DateTime. The only thing is, that the plugin's commands use a fixed reference to yii2mod\user\models\UserModel.

If the plugin itself would have a way of configuring the model to use, then all commands would use that model. Is this something that you would be willing to pull into the code?