yii2-user icon indicating copy to clipboard operation
yii2-user copied to clipboard

Unable to store the data back into the database

Open SuthakarSivashanth opened this issue 2 years ago • 1 comments

I extended profile page (@vendor/amnah/yii2-user/views/default/profile.php) with some new fields (Ex. Country name, City name). While I am able to fetch the data from the database, I am unable to store the data back into the database. What can I do?

SuthakarSivashanth avatar May 17 '23 01:05 SuthakarSivashanth

hmm my initial thought is that you need to add the corresponding rules so that they can be validated and safely stored

https://github.com/amnah/yii2-user/blob/master/models/Profile.php#L37-L46

amnah avatar May 17 '23 01:05 amnah