FR: 2FA Input whitespace is trimmed before submit #5489
Labels
Authenticator
An issue or a feature-request for an Authenticator UI Component
feature-request
Request a new feature
On which framework/platform would you like to see this feature implemented?
React
Which UI component is this feature-request for?
Authenticator
Please describe your feature-request in detail.
Feature Request: Trim Whitespace in 2FA Code Input Field
Framework/Platform
React
UI Component
Authenticator
Feature Description
Currently, the input field for the 2FA (Two-Factor Authentication) code does not trim whitespace before submitting the code. This can lead to user frustration if they accidentally include leading or trailing spaces, causing their 2FA code to be rejected even though it is correct.
Please describe a solution you'd like.
Desired Behavior
The input field for the 2FA code should automatically trim any leading or trailing whitespace before submitting the code.
We love contributors! Is this something you'd be interested in working on?
The text was updated successfully, but these errors were encountered: