Skip to content
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

Observation tool reset password link #487

Merged
merged 3 commits into from
May 8, 2024

Conversation

tsubik
Copy link
Collaborator

@tsubik tsubik commented Apr 19, 2024

Generate link to reset password for obs tool users.

PT: https://www.pivotaltracker.com/story/show/187126291

@tsubik tsubik requested a review from santostiago April 19, 2024 17:15

ENV["FRONTEND_URL"] + "/reset-password?reset_password_token=" + generate_reset_token(user)
if user.admin?
edit_user_password_url(reset_password_token: generate_reset_token(user)) if user.admin?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you have the same condition on the line above.

Copy link
Contributor

@santostiago santostiago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just that small fix

@tsubik tsubik force-pushed the feature/obs-tool-reset-password branch from 4630237 to 3f8aa93 Compare April 30, 2024 11:19
@tsubik tsubik requested a review from santostiago April 30, 2024 11:53
Copy link
Contributor

@santostiago santostiago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tsubik tsubik merged commit 4199dc7 into develop May 8, 2024
4 checks passed
@tsubik tsubik deleted the feature/obs-tool-reset-password branch May 8, 2024 11:26
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.

None yet

2 participants