gotosocial/internal/processing/user
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
..
create.go [feature] Parse content warning to HTML, serialize via client API as plaintext (#3876) 2025-03-07 14:04:34 +00:00
create_test.go [bugfix] Fix POST to create account endpoint (#3767) 2025-02-09 13:52:52 +01:00
delete.go [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
email.go [feature] add TOTP two-factor authentication (2FA) (#3960) 2025-04-07 16:14:41 +02:00
email_test.go [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
get.go [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
password.go [feature] add TOTP two-factor authentication (2FA) (#3960) 2025-04-07 16:14:41 +02:00
password_test.go [feature] add TOTP two-factor authentication (2FA) (#3960) 2025-04-07 16:14:41 +02:00
twofactor.go [feature] add TOTP two-factor authentication (2FA) (#3960) 2025-04-07 16:14:41 +02:00
user.go [bugfix] Fix POST to create account endpoint (#3767) 2025-02-09 13:52:52 +01:00
user_test.go [feature] Refactor tokens, allow multiple app redirect_uris (#3849) 2025-03-03 15:03:36 +00:00