mirror of
https://github.com/quexten/goldwarden.git
synced 2024-12-19 08:41:47 +03:00
15 lines
290 B
Go
15 lines
290 B
Go
|
//go:build nofido2
|
||
|
|
||
|
package twofactor
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
"github.com/quexten/goldwarden/agent/config"
|
||
|
)
|
||
|
|
||
|
const isFido2Enabled = false
|
||
|
|
||
|
func Fido2TwoFactor(challengeB64 string, credentials []string, config *config.Config) (string, error) {
|
||
|
return "", errors.New("Fido2 is not enabled")
|
||
|
}
|