Added roles to fillable

This commit is contained in:
2020-06-30 12:21:05 +02:00
parent 90ec2b9a68
commit e3c7204961
+1 -1
View File
@@ -21,7 +21,7 @@ class User extends Authenticatable
* @var array * @var array
*/ */
protected $fillable = [ protected $fillable = [
'name_first', "name_last", 'email', 'password', "phone" 'name_first', "name_last", 'email', 'password', "phone", "roles"
]; ];
/** /**