diff options
Diffstat (limited to 'src/server/mod.rs')
-rw-r--r-- | src/server/mod.rs | 2 |
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) } |