Insert user with custom field #1032
Unanswered
pippuccio76
asked this question in
Q&A
Replies: 1 comment
-
Hi, public string $userProvider = \App\Models\UserModel::class; The provided code is not complete, we don't know what code is in your view. However, change the values as below, if the problem is fixed, then you have a problem with receiving $user = new User([
'email' => $post['email'],
'password' => $post['password'],
+'nome' => 'mynome',
+'cognome' => 'mycognome',
'telefono' => $post['telefono'],
]); More info see #333 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI , i add 3 filed to users table , change model :
in controller :
but nome and cognome aren't filled , why ? (telefono is filled)
Beta Was this translation helpful? Give feedback.
All reactions