The input of the code verification for 2FA is empty when a value is entered
Categories
(Cloud Services :: Server: Firefox Accounts, defect)
Tracking
(Not tracked)
People
(Reporter: bouteiller.alan, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0
Steps to reproduce:
J'ai fait un premier test (step 1 - 11 and submit and success), but after a second test to write this ticket, it turned out that my solution was not necessarily true.
I'm not sure where the problem comes from. I don't know if the delay is normal...
1 - Go to https://accounts.firefox.com/settings#two-step-authentication
2 - Disable the 2 step auth
3 - Remove the entry on FreeOTP
4 - Click on "Add" for Two-step authentication
5 - Scan the QR code (started a timer here)
6 - Enter the code
7 - Got the following error message "Incorrect two-step authentication code"
8 - Open the DOM explorer
9 - select the input
10 - the value field of the input is empty (value="")
11 - insert the code into the "value" of the input (value="123456")
12 - here I test 3/4 different code, update the value manually sometime and "magic" the form is valid and the code is ok. The timer say 2 minutes.
So I don't know if the problem comes from the code or from a delay. If the problem is a delay, maybe we should specify it? The first time I thought that the form was not working.
Actual results:
The code works after 2 min and/or many attempts.
Expected results:
I don't really know the source of the problem. Probably that the code is valid from the first time and/or without waiting 2 minutes?
| Reporter | ||
Comment 1•3 years ago
|
||
Edit - I wrote in French and in English I am a little tired haha ^^ - : I did a first test (step 1 - 11 and submit and success), but after a second test to write this ticket, it turned out that my solution was not necessarily true.
Comment 2•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Forms' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 4•3 years ago
|
||
Hey Kris, can you please investigate this to see what's up here? Thank you.
Comment 5•3 years ago
|
||
This appears to be a site bug. The "value" attribute should be empty. It's there for initial values from static HTML, but it isn't updated when the user changes the value. The .value property is updated correctly here, though.
Comment 6•3 years ago
|
||
The severity field is not set for this bug.
:markh, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 7•2 years ago
|
||
This sounds like it is working as intended for users using the forms as designed. I'm going to close this - please comment if you're running into further issues.
Description
•