mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
🔥 Remove setters for clientId/secret
Those values should only be set by PHP after validating some authentication details
This commit is contained in:
parent
0752436f00
commit
6167955374
3 changed files with 2 additions and 44 deletions
|
@ -22,6 +22,8 @@ const defaultTransient = Object.freeze( {
|
|||
isSandbox: false,
|
||||
id: '',
|
||||
email: '',
|
||||
clientId: '',
|
||||
clientSecret: '',
|
||||
} ),
|
||||
|
||||
wooSettings: Object.freeze( {
|
||||
|
@ -33,8 +35,6 @@ const defaultTransient = Object.freeze( {
|
|||
const defaultPersistent = Object.freeze( {
|
||||
useSandbox: false,
|
||||
useManualConnection: false,
|
||||
clientId: '',
|
||||
clientSecret: '',
|
||||
webhooks: [],
|
||||
} );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue