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.