refactored auth for JWTs, completed TOTP/2FA implementation, added endpoints to change display name and password

This commit is contained in:
2026-04-01 19:53:48 +01:00
parent 24fe3ef543
commit a0e9244d6a
13 changed files with 484 additions and 127 deletions
+2
View File
@@ -9,6 +9,7 @@ chrono = { version = "0.4.42", features = ["serde"] }
dotenv = "0.15.0"
futures-util = "0.3.31"
image = "0.25.8"
jsonwebtoken = { version = "10.3.0", features = ["rust_crypto"] }
rand = "0.9.2"
redis = { version = "0.25.4", features = ["tokio-comp"] }
reqwest = { version = "0.12.23", features = ["json"] }
@@ -22,4 +23,5 @@ sha2 = "0.10.9"
sqlx = { version = "0.7.4", features = ["macros", "time"] }
tokio = { version = "1.47.1", features = ["full"] }
totp-rs = { version = "5.7.0", features = ["gen_secret", "qr", "rand"] }
tracing = "0.1.44"
uuid = { version = "1.18.1", features = ["v4"] }