2019-04-24 21:52:08 +00:00
|
|
|
package storage
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
var (
|
|
|
|
// ErrNoU2FDeviceHandle error thrown when no U2F device handle has been found in DB.
|
|
|
|
ErrNoU2FDeviceHandle = errors.New("No U2F device handle found")
|
2019-12-07 11:18:22 +00:00
|
|
|
|
2020-09-04 03:20:17 +00:00
|
|
|
// ErrNoTOTPSecret error thrown when no TOTP secret has been found in DB.
|
2019-12-07 11:18:22 +00:00
|
|
|
ErrNoTOTPSecret = errors.New("No TOTP secret registered")
|
2019-04-24 21:52:08 +00:00
|
|
|
)
|