From cb74c3346428d5e352b66d1f7982f77e0e8b8621 Mon Sep 17 00:00:00 2001 From: mia Date: Tue, 23 Apr 2024 19:50:24 -0700 Subject: add expires data to token handoff --- src/server/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/mod.rs') diff --git a/src/server/mod.rs b/src/server/mod.rs index 81dc519..a583f85 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -161,6 +161,6 @@ impl Nevermind for Option { async fn account_auth(jar: &CookieJar, store: &Store) -> Option { let cookie = jar.get("dissociate-token")?; let token = cookie.value(); - let name = store.check_token(token).await?; + let (name, _) = store.check_token(token).await?; Some(name) } -- cgit 1.4.1