summaryrefslogtreecommitdiff
path: root/internal/commands/root.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2021-08-10 10:52:41 +1000
committerGitHub <noreply@github.com>2021-08-10 10:52:41 +1000
commitc0ebe3eb8cd5a3612edb76c2ea2ca5af6bbd22f6 (patch)
treeb77b118c75058274cf6bccb056332b8aa3025aaa /internal/commands/root.go
parente2ebdb7e41711e5c17966e35fff799ec5a27153b (diff)
fix(notifier): use sane default connection timeout (#2273)
Diffstat (limited to 'internal/commands/root.go')
-rw-r--r--internal/commands/root.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/commands/root.go b/internal/commands/root.go
index 48fcb845d..8565233a5 100644
--- a/internal/commands/root.go
+++ b/internal/commands/root.go
@@ -120,7 +120,7 @@ func getProviders(config *schema.Configuration) (providers middlewares.Providers
switch {
case config.Notifier.SMTP != nil:
- notifier = notification.NewSMTPNotifier(*config.Notifier.SMTP, autheliaCertPool)
+ notifier = notification.NewSMTPNotifier(config.Notifier.SMTP, autheliaCertPool)
case config.Notifier.FileSystem != nil:
notifier = notification.NewFileNotifier(*config.Notifier.FileSystem)
default: