10587f425b
Handy for small local installations. Disabled by default because it adds a dependency on the PAM library.
12 lines
144 B
Go
12 lines
144 B
Go
//go:build !pam
|
|
|
|
package auth
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
func NewPAM() (AuthProvider, error) {
|
|
return nil, errors.New("PAM support is disabled")
|
|
}
|