diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2021-08-10 10:52:41 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-10 10:52:41 +1000 |
| commit | c0ebe3eb8cd5a3612edb76c2ea2ca5af6bbd22f6 (patch) | |
| tree | b77b118c75058274cf6bccb056332b8aa3025aaa /internal/commands/root.go | |
| parent | e2ebdb7e41711e5c17966e35fff799ec5a27153b (diff) | |
fix(notifier): use sane default connection timeout (#2273)
Diffstat (limited to 'internal/commands/root.go')
| -rw-r--r-- | internal/commands/root.go | 2 |
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: |
