gotosocial/cmd/gotosocial/action/testrig
tobi 365b575341
[feature] add TOTP two-factor authentication (2FA) (#3960)
* [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
2025-04-07 16:14:41 +02:00
..
no_testrig.go [bugfix] ensure testrig package only compiled-in when debug enabled (#3185) 2024-08-09 10:53:29 +00:00
testrig.go [feature] add TOTP two-factor authentication (2FA) (#3960) 2025-04-07 16:14:41 +02:00