summaryrefslogtreecommitdiffstats
path: root/modules/auth/pam/pam_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auth/pam/pam_stub.go')
-rw-r--r--modules/auth/pam/pam_stub.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/auth/pam/pam_stub.go b/modules/auth/pam/pam_stub.go
index 33ac751a34..ee2527dd89 100644
--- a/modules/auth/pam/pam_stub.go
+++ b/modules/auth/pam/pam_stub.go
@@ -10,6 +10,7 @@ import (
"errors"
)
-func PAMAuth(serviceName, userName, passwd string) error {
+// Auth not supported lack of pam tag
+func Auth(serviceName, userName, passwd string) error {
return errors.New("PAM not supported")
}