Skip to content

Fix 2fa login #1544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Jul 22, 2025
Merged

Fix 2fa login #1544

merged 28 commits into from
Jul 22, 2025

Conversation

annarhughes
Copy link
Member

@annarhughes annarhughes commented Jul 21, 2025

What changes did you make and why did you make them?

Attempted to fix issues related to setting up MFA as a superuser. The edge case that we're fixing is when a user attempts to verify their phone number for MFA but requires reauthentication due to it being a while since they logged in.

We have added a reauthentication flow (reenter password) and attempted to fix a related error with the recaptcha being rendered several times.

Due to firebase SMS not working in development envs, we need to release this to prod to test it thoroughly, including trying to trigger the reauthentication flow.

Did you run tests? Share screenshot of results:

Tests added but couldnt be completed due to recatcha being triggered/required before sending verification. some basic UI flow tests were added

Copy link

vercel bot commented Jul 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bloom-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2025 4:39pm

Copy link

cypress bot commented Jul 21, 2025

Bloom frontend    Run #1306

Run Properties:  status check passed Passed #1306  •  git commit 071e5c96d8: fix: superadmin 2fa login (#1544)
Project Bloom frontend
Branch Review develop
Run status status check passed Passed #1306
Run duration 10m 51s
Commit git commit 071e5c96d8: fix: superadmin 2fa login (#1544)
Committer Anna Hughes
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 11
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 100
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

@annarhughes annarhughes marked this pull request as ready for review July 22, 2025 16:39
@annarhughes annarhughes merged commit 071e5c9 into develop Jul 22, 2025
8 checks passed
@annarhughes annarhughes deleted the fix-2fa-login branch July 22, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants