actually actually asociate cert hash with token
All checks were successful
Build and Test / account (push) Successful in 3m3s

This commit is contained in:
Maple Nebel 2026-07-16 03:54:06 +02:00
commit 5160206147

View file

@ -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;