feat: fix autoComplete for MFA passcode and SMS code (#2642)

* update: mfa autoComplete="off"

* Update SendCodeInput.js

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
This commit is contained in:
Zhang Zhe
2024-01-23 19:52:16 +08:00
committed by GitHub
parent 5318519bf8
commit dd51bbbabf
2 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,7 @@ export const MfaVerifyTotpForm = ({mfaProps, onFinish}) => {
style={{marginTop: 24}}
prefix={<UserOutlined />}
placeholder={i18next.t("mfa:Passcode")}
autoComplete="off"
/>
</Form.Item>
<Form.Item>

View File

@ -70,6 +70,7 @@ export const SendCodeInput = ({value, disabled, textBefore, onChange, onButtonCl
</Button>
}
onSearch={() => setVisible(true)}
autoComplete="one-time-code"
/>
<CaptchaModal
owner={application.owner}