File tree Expand file tree Collapse file tree
apps/web/core/components/account/auth-forms Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export const AuthEmailForm = observer(function AuthEmailForm(props: TAuthEmailFo
7474 value = { email }
7575 onChange = { ( e ) => setEmail ( e . target . value ) }
7676 placeholder = { t ( "auth.common.email.placeholder" ) }
77- autoComplete = "off "
77+ autoComplete = "username "
7878 autoFocus
7979 ref = { inputRef }
8080 />
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ export const AuthPasswordForm = observer(function AuthPasswordForm(props: Props)
213213 placeholder = { t ( "auth.common.password.placeholder" ) }
214214 onFocus = { ( ) => setIsPasswordInputFocused ( true ) }
215215 onBlur = { ( ) => setIsPasswordInputFocused ( false ) }
216- autoComplete = "off"
216+ autoComplete = { mode === EAuthModes . SIGN_IN ? "current-password" : "new-password" }
217217 autoFocus
218218 />
219219 < button
@@ -250,7 +250,7 @@ export const AuthPasswordForm = observer(function AuthPasswordForm(props: Props)
250250 placeholder = { t ( "auth.common.password.confirm_password.placeholder" ) }
251251 onFocus = { ( ) => setIsRetryPasswordInputFocused ( true ) }
252252 onBlur = { ( ) => setIsRetryPasswordInputFocused ( false ) }
253- autoComplete = "off "
253+ autoComplete = "new-password "
254254 />
255255 < button
256256 type = "button"
You can’t perform that action at this time.
0 commit comments