π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Enable Safari OTP autofill for Locker 2FA
Neeraj Gupta61484413040b
diff --git a/web/packages/accounts-rs/components/Verify2FACodeForm.tsx b/web/packages/accounts-rs/components/Verify2FACodeForm.tsxindex 2e3cb1c2d8..ef412f0469 100644--- a/web/packages/accounts-rs/components/Verify2FACodeForm.tsx+++ b/web/packages/accounts-rs/components/Verify2FACodeForm.tsx@@ -85,8 +85,16 @@ export const Verify2FACodeForm: React.FC<Verify2FACodeFormProps> = ({value={values.otp}onChange={handleChange("otp")}numInputs={6}+ inputType="tel"renderSeparator={<span>-</span>}- renderInput={(props) => <IndividualInput {...props} />}+ renderInput={(props, index) => (+ <IndividualInput+ {...props}+ autoComplete={index === 0 ? "one-time-code" : "off"}+ name={index === 0 ? "otp" : undefined}+ pattern="[0-9]*"+ />+ )}/>{errors.otp && (<Typography variant="mini" sx={{ color: "critical.main" }}>