This commit is contained in:
Harry Bomrah 2017-03-07 18:38:12 +08:00
parent 2db0789e46
commit 085b9c937a
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ class ResetCPanelPasswordMailer < ActionMailer::Base
email = user.email email = user.email
@reset_token = user.reset_token @reset_token = user.reset_token
@user_id = user.id @user_id = user.id
@url = "http://#{request.host_with_port}/cpanel/reset_password?id=#{@user_id}&token=#{@reset_token}" @url = "http://storedemo.pending.rulingcom.com/cpanel/reset_password?id=#{@user_id}&token=#{@reset_token}"
mail(:to => email, :subject => "Reset Password Instructions") mail(:to => email, :subject => "Reset Password Instructions")
end end
@ -13,7 +13,7 @@ class ResetCPanelPasswordMailer < ActionMailer::Base
@confirmation_token = user.confirmation_token @confirmation_token = user.confirmation_token
@user_id = user.id @user_id = user.id
confirm_email confirm_email
@url = "http://#{request.host_with_port}/cpanel/confirm_email?id=#{@user_id}&token=#{@confirmation_token}" @url = "http://storedemo.pending.rulingcom.com/cpanel/confirm_email?id=#{@user_id}&token=#{@confirmation_token}"
mail(:to => user.email, :subject => "Orbit - Confirm Email") mail(:to => user.email, :subject => "Orbit - Confirm Email")
end end
end end