url: HTTPS!

This commit is contained in:
nilsding 2015-01-01 18:55:17 +01:00
parent 5c0fd6838f
commit f6e405c2e9
3 changed files with 3 additions and 3 deletions

View File

@ -5,4 +5,4 @@
= succeed '!' do
= @resource.screen_name
%p You can confirm your account email through the link below:
%p= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token)
%p= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token, protocol: (APP_CONFIG['https'] ? :https : :http))

View File

@ -1,5 +1,5 @@
%p Hello #{@resource.screen_name}!
%p Someone (hopefully you) has requested a link to change your password. You can do this through the link below.
%p= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token)
%p= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token, protocol: (APP_CONFIG['https'] ? :https : :http))
%p If you didn't request this, please ignore this email.
%p Your password won't change until you access the link above and create a new one.

View File

@ -1,4 +1,4 @@
%p Hello #{@resource.screen_name}!
%p Your account has been locked due to an excessive number of unsuccessful sign in attempts.
%p Click the link below to unlock your account:
%p= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token)
%p= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token, protocol: (APP_CONFIG['https'] ? :https : :http))