Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: recovery code input should accept text

Abdullah Attaf05fc861d55e
diff --git a/apps/web/src/views/auth.tsx b/apps/web/src/views/auth.tsx
index fe4251f39..cf39893c2 100644
--- a/apps/web/src/views/auth.tsx
+++ b/apps/web/src/views/auth.tsx
@@ -668,7 +668,7 @@ function MFACode(props: BaseAuthComponentProps<"mfa:code">) {
>
<AuthField
id="code"
- type="number"
+ type={selectedMethod !== "recoveryCode" ? "number" : "text"}
autoComplete={"one-time-code"}
label={texts.label}
autoFocus