pl-fe: otp code autocomplete
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -63,7 +63,7 @@ const OtpAuthForm: React.FC<IOtpAuthForm> = ({ mfa_token, small }) => {
|
||||
<Input
|
||||
name='code'
|
||||
type='text'
|
||||
autoComplete='off'
|
||||
autoComplete='one-time-code'
|
||||
autoFocus
|
||||
required
|
||||
/>
|
||||
|
||||
@ -98,7 +98,7 @@ const OtpConfirmForm: React.FC = () => {
|
||||
name='code'
|
||||
placeholder={intl.formatMessage(messages.codePlaceholder)}
|
||||
onChange={handleInputChange}
|
||||
autoComplete='off'
|
||||
autoComplete='one-time-code'
|
||||
disabled={isPending}
|
||||
value={state.code}
|
||||
type='text'
|
||||
|
||||
Reference in New Issue
Block a user