gotosocial/cmd/gotosocial
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
..
action [feature] add TOTP two-factor authentication (2FA) (#3960) 2025-04-07 16:14:41 +02:00
admin.go [feature] Add enable command to mirror existing disable command; update docs (#2792) 2024-04-02 10:29:46 +01:00
common.go [feature] Make log format configurable (#2130) 2023-08-21 19:07:55 +01:00
debug.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
main.go [bugfix] ensure testrig package only compiled-in when debug enabled (#3185) 2024-08-09 10:53:29 +00:00
server.go [feature] Use maintenance router to serve 503 while server is starting/migrating (#3705) 2025-01-29 16:57:04 +01:00
testrig.go [bugfix] ensure testrig package only compiled-in when debug enabled (#3185) 2024-08-09 10:53:29 +00:00