-
Notifications
You must be signed in to change notification settings - Fork 866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2FA field cannot be filled via Ctrl-V #457
Comments
@V0idC0de the way chosen and not allowing ctrl+v is done to prevent the hijack of the code, it is supposed a users logins once a day into faraday. we will let the product team to know about this suggestion but is not either a bug or a problem. |
Hi @ezk06eer. thanks for responding so quickly. How 6 individual fields prevent a hijacking scenario isn't quite clear to me, but I'll leave that design choice to you. |
Hi @V0idC0de, i will post this suggestion in our product channel, thanks a lot for the feedback. Faraday Team. |
What's the problem this feature will solve?
When logging in, the TOTP field is divided into 6 individual input fields. While manually entering digits moves the cursor to the next field automatically, this behavior doesn't apply to using Ctrl-V to enter codes, i.e. when using a password manager generating TOTPs or pasting it otherwise.
Describe the solution you'd like
Input fields should respond to pasting 6 digits into any of them, by properly entering them into the 6 individual fields.
Additionally, the "Submit" may be triggered automatically, after 6 digits are entered (but this is a design decision left to you - I'd like it).
Users can then paste the TOTP and are logged in automatically, mitigating the need to paste the code somewhere and then type it in digit by digit.
Alternative Solutions
Input fields for TOTP code could be merged into one, enabling pasting codes, while keeping easy manual typing.
Additional context
The text was updated successfully, but these errors were encountered: