LG-8232 Update Event: IDV forget password email confirmed#7756
Merged
olatifflexion merged 2 commits intomainfrom Feb 6, 2023
Merged
LG-8232 Update Event: IDV forget password email confirmed#7756olatifflexion merged 2 commits intomainfrom
olatifflexion merged 2 commits intomainfrom
Conversation
changelog: Internal, Attempts API, Passing request_id in the email link
zachmargolis
reviewed
Feb 2, 2023
| <center> | ||
| <%= link_to t('user_mailer.reset_password_instructions.link_text'), | ||
| edit_user_password_url(reset_password_token: @token, locale: @locale), | ||
| edit_user_password_url(reset_password_token: @token, locale: @locale, request_id: @request_id), |
Contributor
There was a problem hiding this comment.
can you provide some background on what linking the request_id does here? does it keep some session around that we need for attempts API?
If so, can we add some sort of acceptance spec that maybe clicks one of these emails and sees the event linked correctly? or something that helps explain why?
Contributor
Author
Contributor
Author
There was a problem hiding this comment.
currently, events get logged when the user clicks the reset password link from the email within the same browser session, but if a user closes the browser and then clicks the reset password link from the email our system does not log the event for that reason I added request_id in the links.
zachmargolis
approved these changes
Feb 6, 2023
Contributor
zachmargolis
left a comment
There was a problem hiding this comment.
LGTM, thanks for adding the specs!
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

changelog: Internal, Attempts API, Passing request_id in the forget password email link