bug(password): fixes URL for password reset

This commit is contained in:
Joseph Mastey
2017-10-06 19:52:37 -05:00
parent b7db890f51
commit 97e8b82e0c
3 changed files with 5 additions and 395 deletions
@@ -25,7 +25,7 @@ class PasswordResetsController < ApplicationController
end
end
def forgot_password
def send_forgot_password
@user = User.find_by_email(params[:email]) unless params[:email].nil?
if @user && password_reset_mailer(@user)