diff --git a/public/templates/mail/invitations/body.tpl b/public/templates/mail/invitations/body.tpl index 7a17437b..5798f721 100644 --- a/public/templates/mail/invitations/body.tpl +++ b/public/templates/mail/invitations/body.tpl @@ -2,7 +2,7 @@
Hello valued miner,
{nocache}{$DATA.username}{/nocache} invited you to participate on this pool: -
http://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=register&token={nocache}{$DATA.token}{/nocache}
+http{if $smarty.server.HTTPS|default:"" eq "on"}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=register&token={nocache}{$DATA.token}{/nocache}
{if $DATA.message}Personal message:
{nocache}{$DATA.message}{/nocache}
{/if}Cheers,
diff --git a/public/templates/mail/notifications/account_edit.tpl b/public/templates/mail/notifications/account_edit.tpl index fa1fcfcf..323a5df0 100644 --- a/public/templates/mail/notifications/account_edit.tpl +++ b/public/templates/mail/notifications/account_edit.tpl @@ -2,8 +2,8 @@You have a pending request to change your account details.
If you initiated this request, please follow the link below to confirm your changes. If you did NOT, please notify an administrator.
-http://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=account&action=edit&ea_token={nocache}{$DATA.token}{/nocache}
+http{if $smarty.server.HTTPS|default:"" eq "on"}s{/if}://{$smarty.server.SERVER_NAME}{$smarty.server.SCRIPT_NAME}?page=account&action=edit&ea_token={nocache}{$DATA.token}{/nocache}