random hash username and clear users when restart

This commit is contained in:
2023-05-04 00:26:27 +08:00
parent 6911038f56
commit 959e6caa1d
6 changed files with 81 additions and 66 deletions

View File

@@ -15,7 +15,7 @@ rocket = { version = "=0.5.0-rc.2", features = ["json"] }
rocket_sync_db_pools = { version = "=0.1.0-rc.2", features = ["diesel_postgres_pool"] }
diesel = { version = "1.4.8", features = ["postgres", "chrono"] }
diesel_migrations = "1.4.0"
redis = { version="0.21.5", features = ["aio", "tokio-comp"] }
redis = { version="0.23.0", features = ["aio", "tokio-comp"] }
chrono = { version="0.4.19", features = ["serde"] }
rand = "0.8.5"
dotenv = "0.15.0"
@@ -25,5 +25,6 @@ env_logger = "0.9.0"
web-push = "0.9.2"
url = "2.2.2"
futures = "0.3.24"
futures-util = "0.3.24"
reqwest = { version = "0.11.10", features = ["json"], optional = true }