aboutsummaryrefslogtreecommitdiff
path: root/internal/auth
diff options
context:
space:
mode:
Diffstat (limited to 'internal/auth')
-rw-r--r--internal/auth/pam/pam_stub.go2
-rw-r--r--internal/auth/smtp/provider.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/auth/pam/pam_stub.go b/internal/auth/pam/pam_stub.go
index 65777fd2..a9da5de6 100644
--- a/internal/auth/pam/pam_stub.go
+++ b/internal/auth/pam/pam_stub.go
@@ -11,6 +11,6 @@ import (
"github.com/pkg/errors"
)
-func (c *Config) doAuth(login, password string) error {
+func (c *Config) doAuth(_, _ string) error {
return errors.New("PAM not supported")
}
diff --git a/internal/auth/smtp/provider.go b/internal/auth/smtp/provider.go
index 3e39aa22..1a136f0e 100644
--- a/internal/auth/smtp/provider.go
+++ b/internal/auth/smtp/provider.go
@@ -115,7 +115,7 @@ type smtpLoginAuth struct {
username, password string
}
-func (auth *smtpLoginAuth) Start(server *smtp.ServerInfo) (string, []byte, error) {
+func (auth *smtpLoginAuth) Start(_ *smtp.ServerInfo) (string, []byte, error) {
return "LOGIN", []byte(auth.username), nil
}