mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Merge pull request #521 from eduardocruz/patch-2
Updating the User Modal fillable attributes.
This commit is contained in:
commit
274982cde5
@ -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…
Reference in New Issue
Block a user