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

This commit is contained in:
Maple Nebel 2026-07-16 03:40:05 +02:00
commit 19505b4348

View file

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