diff --git a/app/views/reset_c_panel_password_mailer/reset_user_password.html.erb b/app/views/reset_c_panel_password_mailer/reset_user_password.html.erb index 6d05a1d..f22ae1b 100644 --- a/app/views/reset_c_panel_password_mailer/reset_user_password.html.erb +++ b/app/views/reset_c_panel_password_mailer/reset_user_password.html.erb @@ -1,3 +1,3 @@

Please Reset your password with the following instructions

-<%= link_to 'Click here to reset', cpanel_reset_password_url(:token => @reset_token, :id => @user_id)%> \ No newline at end of file +<%= link_to 'Click here to reset', "http://#{request.host_with_port}/cpanel/reset_password?id=#{@user_id}&token=#{@reset_token}" %> \ No newline at end of file diff --git a/app/views/reset_c_panel_password_mailer/send_user_confirmation.html.erb b/app/views/reset_c_panel_password_mailer/send_user_confirmation.html.erb index 8b73054..7378ce9 100644 --- a/app/views/reset_c_panel_password_mailer/send_user_confirmation.html.erb +++ b/app/views/reset_c_panel_password_mailer/send_user_confirmation.html.erb @@ -1,3 +1,3 @@

Please confirm email by clicking on the link.

-<%= link_to 'Click here to confirm', cpanel_confirm_email_url(:token => @confirmation_token, :id => @user_id)%> \ No newline at end of file +<%= link_to 'Click here to confirm', "http://#{request.host_with_port}/cpanel/reset_password?id=#{@user_id}&token=#{@reset_token}" %> \ No newline at end of file