url: HTTPS!
This commit is contained in:
parent
5c0fd6838f
commit
f6e405c2e9
|
@ -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))
|
|
@ -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.
|
|
@ -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))
|
Loading…
Reference in New Issue