🗝
summary refs log tree commit diff
path: root/src/server/mod.rs
diff options
context:
space:
mode:
authormia <mia@mia.jetzt>2024-04-23 19:50:24 -0700
committermia <mia@mia.jetzt>2024-04-23 19:50:24 -0700
commitcb74c3346428d5e352b66d1f7982f77e0e8b8621 (patch)
tree143a2168f076c2ede754fbb8527c6b1a8baa4de1 /src/server/mod.rs
parent979d3d2fd87d5def87d27f4991ca8624c72b2317 (diff)
downloaddissociate-0.2.3.tar.gz
dissociate-0.2.3.zip
add expires data to token handoff v0.2.3
Diffstat (limited to 'src/server/mod.rs')
-rw-r--r--src/server/mod.rs2
1 files changed, 1 insertions, 1 deletions
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<T> Nevermind<T> for Option<T> {
 async fn account_auth(jar: &CookieJar, store: &Store) -> Option<String> {
     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)
 }