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.
|
2021-08-03 23:36:53 +00:00
|
|
|
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.
|
2021-08-03 23:36:53 +00:00
|
|
|
ErrNoTOTPSecret = errors.New("no TOTP secret registered")
|
2019-04-24 21:52:08 +00:00
|
|
|
)
|