Updating the User Modal fillable attributes.

Replacing name with first_name and last_name
This commit is contained in:
Eduardo Cruz 2015-11-11 13:34:18 -03:00
parent 933b94e8b5
commit 0feb5cb082

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.