diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 065fd2e77..2e9951a7b 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -22,6 +22,7 @@ - [Remotes] Fix "remote is disabled" error on getting the remotes info (commit [eb2f429964d7adc264bf678c37e49a856454388e](https://github.com/vatesfr/xen-orchestra/commit/eb2f429964d7adc264bf678c37e49a856454388e)) - Fix default filters not being set in all tables (PR [#4994](https://github.com/vatesfr/xen-orchestra/pull/4994)) - [SDN Controller] Broken encrypted tunnels after host reboot [#4996](https://github.com/vatesfr/xen-orchestra/pull/4996) +- Don't log server's credentials in case of `SESSION_AUTHENTICATION_FAILED` error (PR [#4995](https://github.com/vatesfr/xen-orchestra/pull/4995)) ### Released packages @@ -40,6 +41,7 @@ > > In case of conflict, the highest (lowest in previous list) `$version` wins. +- xen-api patch - xo-server-auth-ldap minor - xo-server-sdn-controller patch - xo-server-usage-report minor diff --git a/packages/xen-api/src/index.js b/packages/xen-api/src/index.js index b7fa3d34e..6af4cf90c 100644 --- a/packages/xen-api/src/index.js +++ b/packages/xen-api/src/index.js @@ -659,7 +659,11 @@ export class Xapi extends EventEmitter { error.call = { method, - params: replaceSensitiveValues(params, '* obfuscated *'), + params: + // it pass server's credentials as param + method === 'session.login_with_password' + ? '* obfuscated *' + : replaceSensitiveValues(params, '* obfuscated *'), } debug(