1
0
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:
Hillel Coren 2015-11-11 21:42:03 +02:00
commit 274982cde5

View File

@ -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);
});
});