goldwarden-vaultwarden-bitw.../agent/bitwarden/twofactor/fido2twofactorunsupported.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")
}