mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $fillable = ['name', 'email', 'password'];
|
protected $fillable = ['first_name', 'last_name', 'email', 'password'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The attributes excluded from the model's JSON form.
|
* The attributes excluded from the model's JSON form.
|
||||||
@ -226,4 +226,4 @@ User::updating(function ($user) {
|
|||||||
|
|
||||||
User::updated(function ($user) {
|
User::updated(function ($user) {
|
||||||
User::onUpdatedUser($user);
|
User::onUpdatedUser($user);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user