Updating the User Modal fillable attributes.
Replacing name with first_name and last_name
This commit is contained in:
parent
933b94e8b5
commit
0feb5cb082
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = ['name', 'email', 'password'];
|
||||
protected $fillable = ['first_name', 'last_name', 'email', 'password'];
|
||||
|
||||
/**
|
||||
* The attributes excluded from the model's JSON form.
|
||||
|
|
@ -226,4 +226,4 @@ User::updating(function ($user) {
|
|||
|
||||
User::updated(function ($user) {
|
||||
User::onUpdatedUser($user);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue