fix: Blocked login when dismissed 2FA modal#32482
Conversation
🦋 Changeset detectedLatest commit: c3e0ca9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 33 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Looks like this PR is ready to merge! 🎉 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #32482 +/- ##
===========================================
- Coverage 55.59% 55.58% -0.02%
===========================================
Files 2634 2634
Lines 57252 57273 +21
Branches 11857 11860 +3
===========================================
+ Hits 31832 31837 +5
- Misses 22729 22750 +21
+ Partials 2691 2686 -5
Flags with carried forward coverage won't be shown. Click here to find out more. |
MarcosSpessatto
left a comment
There was a problem hiding this comment.
I know the steps to reproduce the issue are complex, but would it be possible to add some UI tests to ensure the behavior? Executing exactly the steps you attached in the GIF, enabling 2FA, typing user name and pass, pressing ESC, and checking if the login button is enabled?
8c3bdfd to
9e919b3
Compare
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
4df72a9 to
bce65a7
Compare
ee058dd
Co-authored-by: Tasso Evangelista <2263066+tassoevan@users.noreply.github.com>
Proposed changes (including videos or screenshots)
Fix infinite loading button in login page when 2FA dismissed.
PR introduces the possibility of a function trigger to Modal dismiss (outside click and escape key).
Before:

After:

Issue(s)
Steps to test or reproduce
Further comments
CORE-202