fix(xo-server-auth-ldap): typo defaults → default (#5388)
The "Check certificate" option's default value was incorrectly set in the UI. So if it was left untouched by the user (showing as OFF since `undefined`), it would be saved as `undefined`, and then fallback to the actual default value (`true`) when used in the code. So it would try to check the certificate even though the user didn't want to.
This commit is contained in:
parent
ee7217c7c9
commit
e0987059d3
@ -37,6 +37,7 @@
|
||||
>
|
||||
> In case of conflict, the highest (lowest in previous list) `$version` wins.
|
||||
|
||||
- xo-server-auth-ldap patch
|
||||
- @vates/multi-key-map minor
|
||||
- @xen-orchestra/fs patch
|
||||
- xo-server minor
|
||||
|
@ -53,7 +53,7 @@ If not specified, it will use a default set of well-known CAs.
|
||||
description:
|
||||
"Enforce the validity of the server's certificates. You can disable it when connecting to servers that use a self-signed certificate.",
|
||||
type: 'boolean',
|
||||
defaults: DEFAULTS.checkCertificate,
|
||||
default: DEFAULTS.checkCertificate,
|
||||
},
|
||||
startTls: {
|
||||
title: 'Use StartTLS',
|
||||
|
Loading…
Reference in New Issue
Block a user