From 19505b43484e6d586bfa32d141166521e12dfda7 Mon Sep 17 00:00:00 2001 From: Maple Nebel Date: Thu, 16 Jul 2026 03:40:05 +0200 Subject: [PATCH] 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 0f16371..9383359 100644 --- a/src/nnid/oauth/generate_token.rs +++ b/src/nnid/oauth/generate_token.rs @@ -97,7 +97,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 refresh_token = create_token(pool, pid, AUTH_REFRESH_TOKEN, None, None).await; + let refresh_token = create_token(pool, pid, AUTH_REFRESH_TOKEN, None, cert).await; Self { token,