actually actually asociate cert hash with token
All checks were successful
Build and Test / account (push) Successful in 3m3s
All checks were successful
Build and Test / account (push) Successful in 3m3s
This commit is contained in:
parent
19505b4348
commit
5160206147
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue