summaryrefslogtreecommitdiff
path: root/internal/configuration/schema/notifier.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2021-04-16 11:44:37 +1000
committerGitHub <noreply@github.com>2021-04-16 11:44:37 +1000
commitcc4f47f21c61b1e15c14fa437b32fe8293d4f576 (patch)
treea0567d6bffd723089006e23f05323e22dec829d9 /internal/configuration/schema/notifier.go
parent168dbf7265e4a0616468f6242be853fbcddf710d (diff)
fix: removed deprecated smtp/ldap options (#1912)
This removes the deprecated options from 4.25. This includes the LDAP filters which allow {0} or {1} placeholders. The new aliases are documented. Additionally it refactors the keys validator to use uniform messages for most replaced keys.
Diffstat (limited to 'internal/configuration/schema/notifier.go')
-rw-r--r--internal/configuration/schema/notifier.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/configuration/schema/notifier.go b/internal/configuration/schema/notifier.go
index 58c5428c6..bb6b878bd 100644
--- a/internal/configuration/schema/notifier.go
+++ b/internal/configuration/schema/notifier.go
@@ -18,8 +18,6 @@ type SMTPNotifierConfiguration struct {
DisableRequireTLS bool `mapstructure:"disable_require_tls"`
DisableHTMLEmails bool `mapstructure:"disable_html_emails"`
TLS *TLSConfig `mapstructure:"tls"`
- TrustedCert string `mapstructure:"trusted_cert"` // Deprecated: Replaced with Global Option CertificatesDirectory. TODO: Remove in 4.28.
- DisableVerifyCert *bool `mapstructure:"disable_verify_cert"` // Deprecated: Replaced with LDAPAuthenticationBackendConfiguration.TLS.SkipVerify. TODO: Remove in 4.28.
}
// NotifierConfiguration represents the configuration of the notifier to use when sending notifications to users.