Apmplied manual JWT check and restored all driver fields68j2
This commit is contained in:
@@ -19,5 +19,5 @@ class CarRegistration extends Model
|
|||||||
protected $table = 'CarRegistration';
|
protected $table = 'CarRegistration';
|
||||||
public $timestamps = false;
|
public $timestamps = false;
|
||||||
protected $fillable = ['driverID', 'vin', 'car_plate', 'make', 'model', 'year', 'expiration_date', 'color', 'owner', 'color_hex', 'fuel', 'isDefault', 'status', 'vehicle_category_id', 'fuel_type_id'];
|
protected $fillable = ['driverID', 'vin', 'car_plate', 'make', 'model', 'year', 'expiration_date', 'color', 'owner', 'color_hex', 'fuel', 'isDefault', 'status', 'vehicle_category_id', 'fuel_type_id'];
|
||||||
public const ENCRYPTED_FIELDS = ['car_plate', 'owner'];
|
public const ENCRYPTED_FIELDS = ['car_plate', 'owner', 'vin'];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user