Track recently used totp timestamps
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Melody Becker 2025-04-01 09:16:33 +02:00
parent a6bcbaf5e9
commit 7ae75caaf5
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
3 changed files with 29 additions and 1 deletions

View file

@ -12,6 +12,7 @@ var (
// A user may not login, for whatever reason
ErrCantLogin = errors.New("user can't login")
ErrDecryptionFailure = errors.New("failed to decrypt content")
ErrTotpRecentlyUsed = errors.New("totp token was used too recently")
)
type CombinedError struct {