Skip to content

Commit

Permalink
feat: Remove the use secret key in agenda connectors in the front sid…
Browse files Browse the repository at this point in the history
…e - EXO-65042

 Remove the use secret key in agenda connectors in the front side
  • Loading branch information
hakermi committed Jul 10, 2023
1 parent 1c10875 commit 1671525
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export default {
const connectorObj = this.remoteProviders.find(connectorSettings => connectorSettings.name === connector.name);
connector.enabled = connectorObj && connectorObj.enabled || false;
connector.apiKey = connectorObj && connectorObj.apiKey || '';
connector.secretKey = connectorObj && connectorObj.secretKey || '';
connector.connected = connector.enabled && this.settings.connectedRemoteProvider === connectorObj.name;
connector.user = connector.connected && this.settings.connectedRemoteUserId || '';
});
Expand All @@ -72,7 +71,7 @@ export default {
this.connectors
.forEach(connector => {
if (connector.init && !connector.initialized && connector.enabled && connector.apiKey) {
connector.init(this.connectionStatusChanged, this.connectionLoading, connector.apiKey, connector.secretKey);
connector.init(this.connectionStatusChanged, this.connectionLoading, connector.apiKey);
}
});
},
Expand Down

0 comments on commit 1671525

Please sign in to comment.