fix(security): prevent payment gateway credentials leakage via OrderResource
This commit is contained in:
@@ -15,4 +15,8 @@ class Payment extends Model
|
||||
'config' => 'array',
|
||||
'enable' => 'boolean'
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'config',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user