From 51602061472141fb383cc4da309b305c71ca235f Mon Sep 17 00:00:00 2001 From: Maple Nebel Date: Thu, 16 Jul 2026 03:54:06 +0200 Subject: [PATCH] actually actually asociate cert hash with token --- src/nnid/oauth/generate_token.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnid/oauth/generate_token.rs b/src/nnid/oauth/generate_token.rs index 9383359..012627f 100644 --- a/src/nnid/oauth/generate_token.rs +++ b/src/nnid/oauth/generate_token.rs @@ -95,7 +95,7 @@ impl TokenReturnData { } } async fn new_with_cert(pid: i32, cert: Option<&[u8]>, pool: &Pool) -> Self { - let token = create_token(pool, pid, AUTH_TOKEN, None, None).await; + let token = create_token(pool, pid, AUTH_TOKEN, None, cert).await; let refresh_token = create_token(pool, pid, AUTH_REFRESH_TOKEN, None, cert).await;