feat: add autocomplete attributes for MFA input#11297
feat: add autocomplete attributes for MFA input#11297zhengkunwang223 merged 1 commit into1Panel-dev:dev-v2from Kadxy:feat/mfa-autocomplete
Conversation
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Pull request overview
This PR enhances the MFA login experience by adding the autocomplete="one-time-code" attribute to the MFA verification code input field. This allows password managers and browser extensions to automatically detect and autofill OTP codes.
- Add
autocomplete="one-time-code"attribute to the MFA input field for better browser integration
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
What this PR does / why we need it?
This improvement allows password managers to detect the field as a OTP input and allows auto-fill the verification code directly from the browser extension or keyboard suggestions.
Summary of your change
Add
autocomplete="one-time-code"to the MFA login input field infrontend/src/views/login/components/login-form.vue.Please indicate you've done the following: