tokidoki/auth/pam_stub.go
Simon Ser 10587f425b auth: add PAM support
Handy for small local installations.

Disabled by default because it adds a dependency on the PAM
library.
2022-09-13 10:04:45 +02:00

12 lines
144 B
Go

//go:build !pam
package auth
import (
"errors"
)
func NewPAM() (AuthProvider, error) {
return nil, errors.New("PAM support is disabled")
}