12 lines
147 B
Go
12 lines
147 B
Go
|
//go:build !nullauth
|
||
|
|
||
|
package auth
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
)
|
||
|
|
||
|
func NewNull() (AuthProvider, error) {
|
||
|
return nil, errors.New("NullAuth is disabled")
|
||
|
}
|