This commit is contained in:
2024-02-06 00:09:08 +03:00
parent eb1abd41e5
commit 1a8b415062
3 changed files with 3 additions and 2 deletions

View File

@ -257,6 +257,7 @@ class User extends ActiveRecord implements IdentityInterface, UserRbacInterface
$profile = new UserCard();
$profile->id_user = $user->id;
$profile->status = $status;
$profile->email = $email;
$profile->fio = $email;
if ($profile->save()) {
return $profile;