@@ -43,10 +43,7 @@ async fn main() -> anyhow::Result<()> {
|
||||
"--session-postgres-conn=postgres://como:somenotverysecurepassword@localhost:5432/como",
|
||||
]);
|
||||
|
||||
let auth = cmd.auth;
|
||||
|
||||
let session_service = SessionService::new(&auth).await?;
|
||||
let auth_service = AuthService::new(&auth, session_service).await?;
|
||||
let auth_service = AuthService::new(&cmd.auth).await?;
|
||||
|
||||
let state = AppState {
|
||||
auth: auth_service.clone(),
|
||||
|
Reference in New Issue
Block a user