fix(xen-api#_sessionOpen): don't log credentials on error (#4995)
This commit is contained in:
parent
5d497a1908
commit
3388e5e8a4
@ -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
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user