-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
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