1
0
Fork 0
mirror of https://github.com/n8n-io/n8n.git synced 2025-03-05 20:50:17 -08:00

fix(editor): Focus mfa token input (no-changelog) ()

Github issue / Community forum post (link here to close automatically):
This commit is contained in:
Ricardo Espinoza 2023-11-04 20:34:05 -04:00 committed by GitHub
parent 5790e251b8
commit b11c4de039
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,7 +179,7 @@ export default defineComponent({
MFA_AUTHENTICATION_RECOVERY_CODE_INPUT_MAX_LENGTH,
);
},
formField(name: string, label: string, placeholder: string, maxlength: number) {
formField(name: string, label: string, placeholder: string, maxlength: number, focus = true) {
return {
name,
initialValue: '',
@ -189,6 +189,7 @@ export default defineComponent({
maxlength,
capitalize: true,
validateOnBlur: false,
focusInitially: focus,
},
};
},