Merge branch 'master' of github.com:hillelcoren/invoice-ninja

This commit is contained in:
Hillel Coren 2015-11-12 22:36:51 +02:00
commit 0f060c6ff2

View File

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