Cannot enable 2-factor authentication

(#871) Bug Open: Confirmed security

Reproduction steps

  1. Go to Settings
  2. Go to Account
  3. Go to Two-factor authentication > Authenticator app
  4. Click Enable
  5. Enter the 6-digit code from your authenticator app.
  6. Click Continue
  7. Enter Password, receive message "Invalid code." when hitting Verify.

Observed behaviour

Scanned the QR code with an authenticator app. Entered the 6-digit code, hit verify. The next box is a "Verify it's you" with it asking me to enter my password. When I do, it does nothing except display a red "Invalid code." underneath the Password field. I have confirmed I am entering in the right password, yet it still doesn't work.

Build information

Stable Desktop 2026.925.203705, Web 2026.926.115056, Windows 11 10.0.26200 (x64), Electron 44.4.1, Chrome 152.0.7977.78, Node 24.21.0, Locale en-US

Platform

macOS, Windows, Linux

  1. Fullest changed the status from Needs triage to Awaiting confirmation

4 comments

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote
Status changed from Awaiting confirmation to Confirmed
Reopening this, since people are still seeing it after the fix. Thanks for testing and telling us.
Comment by Hampus
HampusStaff 1 vote originally by @hampus-fluxer on GitHub 1 reply
This should be fixed via #3146. Feel free to retest and close the issue if you can confirm it's fixed!
Comment by rLy
rLy 1 vote
I just tried to setup 2fa today and got the same issue. It asked for the password and then it showed that it's invalid, after that on top of the input there was a 'send code in email' but clicking that it said that this instance does not allow that and use password instead. But then it results in the same invalid code as before. Stable Desktop 2026.1025.12517, Web 2026.1026.223737, Linux 7.2.11-arch1-1 (x64), Electron 44.9.1, Chrome 152.0.7977.167, Node 24.22.0, Locale en-US
Comment by rLy
rLy 1 vote
I tried it again and now it worked and was able to setup 2fa. Stable Desktop 2026.1101.102918, Web 2026.1101.230756, Linux 7.2.14-arch1-1 (x64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale en-US