changed url

This commit is contained in:
Harry Bomrah 2017-03-07 18:06:11 +08:00
parent b0744b361d
commit e6bee5b36c
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
<p>Please Reset your password with the following instructions</p>
<%= link_to 'Click here to reset', cpanel_reset_password_url(:token => @reset_token, :id => @user_id)%>
<%= link_to 'Click here to reset', "http://#{request.host_with_port}/cpanel/reset_password?id=#{@user_id}&token=#{@reset_token}" %>

View File

@ -1,3 +1,3 @@
<p>Please confirm email by clicking on the link.</p>
<%= link_to 'Click here to confirm', cpanel_confirm_email_url(:token => @confirmation_token, :id => @user_id)%>
<%= link_to 'Click here to confirm', "http://#{request.host_with_port}/cpanel/reset_password?id=#{@user_id}&token=#{@reset_token}" %>