reset mailer url fixed

This commit is contained in:
Harry Bomrah 2017-04-12 19:25:36 +08:00
parent c552b6ecbe
commit 56ee939c8e
1 changed files with 2 additions and 2 deletions

View File

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