Store sessions in redis

This commit is contained in:
2023-09-26 01:47:50 -04:00
parent 306059c355
commit 6fd2f150a0
5 changed files with 370 additions and 22 deletions

View File

@@ -16,6 +16,7 @@ ammonia = "3.3.0"
ansi-to-html = "0.1"
anyhow = "1"
argon2 = "0.5"
async-redis-session = "0.2"
axum = { version = "0.6", features = ["form", "headers", "multipart"] }
# waiting for new axum-login release which will support sqlx v. 0.7+
axum-login = { git = "https://github.com/maxcountryman/axum-login", branch = "main", features = ["postgres"] }