Also add error for previous changes
This commit is contained in:
parent
420f6e46c0
commit
77f06c752e
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@ var (
|
|||
// The given totp token was recently (90 seconds) used for that username
|
||||
// For security reasons, this case will be caught and blocked
|
||||
ErrTotpRecentlyUsed = errors.New("totp token was used too recently")
|
||||
// The stored data for a passkey registration wasn't formatted correctly
|
||||
// and thus can't be used
|
||||
ErrInvalidPasskeyRegistrationData = errors.New(
|
||||
"stored passkey registration data was formatted badly",
|
||||
)
|
||||
)
|
||||
|
||||
// Helper error type to combine two errors into one
|
||||
|
|
Loading…
Reference in a new issue