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

Refactor password reset. Make it similar to confirmation instructions. #56

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

patriciomacadden
Copy link
Contributor

I was reading the code and found out an inconsistency. The confirmation instruction email was being sent by calling ReviseAuth::Model#send_confirmation_instructions but the password reset email was sent in the password resets controller. Think it's a nice refactor.

@excid3 excid3 merged commit fdd4bd5 into excid3:main Feb 9, 2024
8 checks passed
@excid3
Copy link
Owner

excid3 commented Feb 9, 2024

Much cleaner! I think I intended to extract that and forgot all about it. 🙃

@patriciomacadden
Copy link
Contributor Author

Hahaha it happens a lot! 😉 cheers

@patriciomacadden patriciomacadden deleted the refactor-send-password-reset branch February 12, 2024 03:08
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