[2FA] Login form requires otp multiple times
If you enable 2fa with otp (e.g. yubikey), you have to enter two otp codes to login.
@ZugBahnHof: Could you please verify this bug?
Designs
- Show closed items
Related merge requests 1
When this merge request is accepted, this issue will be closed automatically.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Tom Teichler added part::frontend prio::1 type::bug workflow::discussing labels
added part::frontend prio::1 type::bug workflow::discussing labels
- Owner
Yes, I can confirm it.
Edited by Jonathan Weth Collapse replies - Developer
I cannot confirm it. However, if I press
Enter
in the 2fa-code field, the form doesn't get submitted, instead I will be redirected to theBackup Token form
. One time during testing, the sidenav showed items, which I should not be able to see (even if I was logged in), like Fritak stuff etc. - Developer
aleksis/core/templates/two_factor/core/login.html#L77 has to be changed (however I don't know really how)
- Owner
However, if I press
Enter
in the 2fa-code field, the form doesn't get submitted, instead I will be redirected to theBackup Token form
.That's actually the confirmation for this issue ;-)
- Developer
- Developer
- Author Owner
@hansegucker I really dont know how to fix this issue. Please re-assign.
- Jonathan Weth assigned to @debdolph
assigned to @debdolph
- Jonathan Weth added part::backend label
added part::backend label
- Tom Teichler mentioned in merge request !716 (closed)
mentioned in merge request !716 (closed)
- Tom Teichler unassigned @debdolph
unassigned @debdolph
- Nik | Klampfradler changed title from [2fa] Login form requires otp multiple times to [2FA] Login form requires otp multiple times
changed title from [2fa] Login form requires otp multiple times to [2FA] Login form requires otp multiple times
- Nik | Klampfradler assigned to @ZugBahnHof
assigned to @ZugBahnHof
- Jonathan Weth assigned to @hansegucker and unassigned @ZugBahnHof
assigned to @hansegucker and unassigned @ZugBahnHof
- Jonathan Weth created merge request !743 (merged) to address this issue
created merge request !743 (merged) to address this issue
- Jonathan Weth mentioned in merge request !743 (merged)
mentioned in merge request !743 (merged)
- Nik | Klampfradler closed with merge request !743 (merged)
closed with merge request !743 (merged)
- Nik | Klampfradler mentioned in commit 2c42d8ff
mentioned in commit 2c42d8ff