mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-06 08:27:18 +01:00
Add optional parameter existing_refresh_claims to AuthTokens
This commit is contained in:
parent
86a57fab1d
commit
3be4384f71
1 changed files with 1 additions and 1 deletions
|
|
@ -433,7 +433,7 @@ async fn _password_login(
|
|||
|
||||
let twofactor_token = twofactor_auth(&mut user, &data, &mut device, ip, client_version, conn).await?;
|
||||
|
||||
let auth_tokens = auth::AuthTokens::new(&device, &user, AuthMethod::Password, data.client_id);
|
||||
let auth_tokens = auth::AuthTokens::new(&device, &user, AuthMethod::Password, data.client_id, None);
|
||||
|
||||
authenticated_response(&user, &mut device, auth_tokens, twofactor_token, &now, conn, ip).await
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue