Skip to content

fix: account verify email - #31227

Merged
kodiakhq[bot] merged 6 commits into
release-6.5.1from
fix/verify-email2
Dec 15, 2023
Merged

fix: account verify email#31227
kodiakhq[bot] merged 6 commits into
release-6.5.1from
fix/verify-email2

Conversation

@hugocostadev

@hugocostadev hugocostadev commented Dec 13, 2023

Copy link
Copy Markdown
Contributor

Proposed changes (including videos or screenshots)

The Accounts.onEmailVerificationLink and Accounts.verifyEmail was not working as expected.

The Accounts.onEmailVerificationLink needs to be called in the top level of the application, but instead, it was being called thought a dynamic import.
I changed to a static import and changed the behavior after the verification, now the user is being logged in after the email is verified.

Expected Behavior
The email of the newly registered user should be verified since the verification link was clicked.

Actual Behavior
The user’s email is still not verified and requires the admin to manually verify the email address from the User’s profile.

Issue(s)

fix #30890
fix #30811
fix #30668

Steps to test or reproduce

  1. Register on the login page using the “Create an Account” form
  2. Click on the verification link sent to your email

Further comments

https://rocketchat.atlassian.net/browse/SUP-414

@hugocostadev
hugocostadev requested a review from a team as a code owner December 13, 2023 15:02
@changeset-bot

changeset-bot Bot commented Dec 13, 2023

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 938ce27

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 30 packages
Name Type
@rocket.chat/meteor Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/gazzodown Patch
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Patch
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/api-client Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/ddp-client Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/models Patch
@rocket.chat/ui-client Patch
@rocket.chat/ui-video-conf Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/instance-status Patch

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

@hugocostadev hugocostadev added this to the 6.5.1 milestone Dec 13, 2023
@codecov

codecov Bot commented Dec 13, 2023

Copy link
Copy Markdown

Codecov Report

Merging #31227 (938ce27) into release-6.5.1 (68ff7e5) will increase coverage by 6.08%.
The diff coverage is 0.00%.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##           release-6.5.1   #31227      +/-   ##
=================================================
+ Coverage          46.05%   52.13%   +6.08%     
=================================================
  Files                764      812      +48     
  Lines              14538    15186     +648     
  Branches            2762     2857      +95     
=================================================
+ Hits                6695     7917    +1222     
+ Misses              7457     6830     -627     
- Partials             386      439      +53     
Flag Coverage Δ
e2e 48.60% <0.00%> (+7.29%) ⬆️
unit 69.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@casalsgh casalsgh modified the milestones: 6.5.1, 6.6 Dec 13, 2023
@casalsgh
casalsgh requested a review from tassoevan December 14, 2023 17:08
@dionisio-bot dionisio-bot Bot added the stat: ready to merge PR tested and approved waiting for merge label Dec 15, 2023
@dionisio-bot dionisio-bot Bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Dec 15, 2023
@kodiakhq
kodiakhq Bot merged commit 6ba8bcc into release-6.5.1 Dec 15, 2023
@kodiakhq
kodiakhq Bot deleted the fix/verify-email2 branch December 15, 2023 19:40
gabriellsh added a commit that referenced this pull request Dec 21, 2023
…o develop

* 'release-6.5.1' of github.com:RocketChat/Rocket.Chat:
  fix: Fix wrong callback usage on after/before user actions (#31264)
  fix: SDK login methods not saving token (#31278)
  fix: account verify email (#31227)
  fix: stop refetching banner data (#31235)
  chore: fix date operation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: ready to merge PR tested and approved waiting for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants