From 8c8394812e894185c70cf34e10f0e6dc5579dab0 Mon Sep 17 00:00:00 2001 From: Momi-V <83947761+Momi-V@users.noreply.github.com> Date: Mon, 3 Nov 2025 15:33:58 +0100 Subject: [PATCH] Add optional parameter existing_refresh_claims to AuthTokens --- src/api/identity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/identity.rs b/src/api/identity.rs index e763ef46..03f22d97 100644 --- a/src/api/identity.rs +++ b/src/api/identity.rs @@ -424,7 +424,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, conn, ip).await }