Skip to content

Commit 7a4da05

Browse files
committed
remove "I" from verification to avoid ambiguity
1 parent 5fa0dd7 commit 7a4da05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/routes/_auth+/verify.server.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ export async function prepareVerification({
9090

9191
const { otp, ...verificationConfig } = generateTOTP({
9292
algorithm: 'SHA256',
93-
// Leaving off 0 and O on purpose to avoid confusing users.
94-
charSet: 'ABCDEFGHIJKLMNPQRSTUVWXYZ123456789',
93+
// Leaving off 0, O, and I on purpose to avoid confusing users.
94+
charSet: 'ABCDEFGHJKLMNPQRSTUVWXYZ123456789',
9595
period,
9696
})
9797
const verificationData = {

0 commit comments

Comments
 (0)