1d871b000a
Not built by default, but can be added with `go build -tags nullauth`. Enabled by running tokidoki with `-auth.url null://`. Very useful for simpler debugging when you don't want manage test accounts with actual passwords.
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")
|
|
}
|