Created
November 29, 2018 10:22
-
-
Save radheymkumar/6d4587b8e8f0b11b728a99cc15a31b3e to your computer and use it in GitHub Desktop.
Password recovery link
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function common_mail_alter(&$message) { | |
if ($message['id'] == 'user_password_reset') { | |
$message['headers']['Content-Type'] = 'text/html; charset=UTF-8; format=flowed; delsp=yes'; | |
} | |
} | |
/* Password recovery */ | |
<a href='[user:one-time-login-url]' target="_blank">Generate/Reset Password</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment