Users reported an issue where admins cannot enroll in 2FA when ‘enforce second factor’ is set to Staff, as the ‘Add Authentication’ panel immediately reloads the page. KC1508 and itsbhanusharma observed this behavior across multiple browsers and accounts, with console errors like Uncaught TypeError: t is undefined in second-factor.js. The issue was confirmed by JammyDodger and merged into a single topic. pmusaraj noted the bug was fixed on November 16th via this commit, suggesting a rebuild for self-hosted instances. KC1508 confirmed the fix in v3.2.0.beta3 +147, resolving the issue on their forum.
My community has recently enabled 2FA for Staff Members only with no issues until today. One of the admins notified me when on /u/User/preferences/second-factor would come up, but when clicking “Add Authentication” would ‘pop’ up the panel, but nearly instantly (less than a second later) go away and the page reloades.
I’ve impersonated a few admins who haven’t enabled 2FA yet and this issue is persistent across multiple browsers and accounts - no adblockers, etc. Just updated today.
The page just randomly reloads with the following errors in browser console:
Uncaught TypeError: t is undefined
hasSecondFactors second-factor.js:47
u handle-descriptor.js:55
get Ember
untrack validator.js:670
Ember 3
second-factor.js:47:11
Some errors might have lost because the page immediately reloads when I click the Add Authenticator button.
Sorry for the delay, I was meaning to try and repro this but it slipped away from me. There’s been a second report now so I’ll combine the two topics together.
If you’re running a self-hosted instance, you might have to rebuild. If your site is hosted with us and you can still repro the issue, please let us know the URL so we can look into it further.