From e43313210269b8e48fe35b17ac416c9ba88ae4f3 Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 18 Aug 2024 00:30:15 +0300 Subject: feat: logins!! yes you can finally sign in this is also supposed to show private posts intended for you! maybe i can also reveal my email to those who sign in! :3 --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 34c25c0..f272a63 100644 --- a/src/main.rs +++ b/src/main.rs @@ -90,6 +90,7 @@ async fn main() { let cancellation_token = tokio_util::sync::CancellationToken::new(); let jobset: Arc>> = Default::default(); + let session_store: kittybox::SessionStore = Default::default(); let http: reqwest::Client = { #[allow(unused_mut)] @@ -182,7 +183,8 @@ async fn main() { }, http, background_jobs: jobset.clone(), - cookie_key + cookie_key, + session_store, }; type St = kittybox::AppState; -- cgit 1.4.1