Skip to content

Commit 4d20453

Browse files
PM-25632: Ensure that we use lowercase email addresses when creating a fingerprint (#6227)
1 parent 4b951a1 commit 4d20453

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/kotlin/com/x8bit/bitwarden/data/auth/datasource/sdk/AuthSdkSourceImpl.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class AuthSdkSourceImpl(
3030
getClient()
3131
.auth()
3232
.newAuthRequest(
33-
email = email,
33+
email = email.lowercase(),
3434
)
3535
}
3636

@@ -42,7 +42,7 @@ class AuthSdkSourceImpl(
4242
.platform()
4343
.fingerprint(
4444
req = FingerprintRequest(
45-
fingerprintMaterial = email,
45+
fingerprintMaterial = email.lowercase(),
4646
publicKey = publicKey,
4747
),
4848
)

0 commit comments

Comments
 (0)