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