These are chat archives for dektrium/yii2-user

23rd
Jan 2016
following this guide I was able to add a value to the profile table
but if I override the model dektrium User
it gives the below error
Declaration of app\models\RegistrationForm::loadAttributes(app\models\User $user) should be compatible with dektrium\user\models\RegistrationForm::loadAttributes(dektrium\user\models\User $user)
1.
Pavel Sokolov
@ComradePashka
Jan 23 2016 22:02
that guide is for registration form if you override model you should follow http://yii2-user.dmeroff.ru/docs/overriding-models and do not forget to configure 'modelMap' I guess