summaryrefslogtreecommitdiff
path: root/internal/api/auth/util.go
AgeCommit message (Collapse)AuthorFiles
2025-04-07[feature] add TOTP two-factor authentication (2FA) (#3960)Libravatar tobi1
* [feature] add TOTP two-factor authentication (2FA) * use byteutil.S2B to avoid allocations when comparing + generating password hashes * don't bother with string conversion for consts * use io.ReadFull * use MustGenerateSecret for backup codes * rename util functions