mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
fix(connector): always show SMTP connector TLS configurations in the admin console (#5441)
This commit is contained in:
parent
697cdd54ee
commit
a7e69bd727
2 changed files with 5 additions and 5 deletions
5
.changeset/wet-squids-move.md
Normal file
5
.changeset/wet-squids-move.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@logto/connector-smtp": patch
|
||||
---
|
||||
|
||||
Always show TLS configurations in the admin console.
|
|
@ -170,7 +170,6 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
key: 'secure',
|
||||
label: 'Secure',
|
||||
type: ConnectorConfigFormItemType.Switch,
|
||||
required: true,
|
||||
defaultValue: false,
|
||||
},
|
||||
{
|
||||
|
@ -179,7 +178,6 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
type: ConnectorConfigFormItemType.Json,
|
||||
required: false,
|
||||
defaultValue: {},
|
||||
showConditions: [{ targetKey: 'secure', expectValue: true }],
|
||||
},
|
||||
{
|
||||
key: 'servername',
|
||||
|
@ -187,21 +185,18 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
type: ConnectorConfigFormItemType.Text,
|
||||
required: false,
|
||||
placeholder: '<servername>',
|
||||
showConditions: [{ targetKey: 'secure', expectValue: true }],
|
||||
},
|
||||
{
|
||||
key: 'ignoreTLS',
|
||||
label: 'Ignore TLS',
|
||||
type: ConnectorConfigFormItemType.Switch,
|
||||
required: false,
|
||||
showConditions: [{ targetKey: 'secure', expectValue: true }],
|
||||
},
|
||||
{
|
||||
key: 'requireTLS',
|
||||
label: 'Require TLS',
|
||||
type: ConnectorConfigFormItemType.Switch,
|
||||
required: false,
|
||||
showConditions: [{ targetKey: 'secure', expectValue: true }],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue