function logintoboggan_eml_validate_url in LoginToboggan 7
Same name and namespace in other branches
- 5 logintoboggan.module \logintoboggan_eml_validate_url()
- 6 logintoboggan.module \logintoboggan_eml_validate_url()
2 calls to logintoboggan_eml_validate_url()
- logintoboggan_mail_alter in ./
logintoboggan.module - Implement hook_mail_alter().
- logintoboggan_tokens in ./
logintoboggan.tokens.inc - Implements hook_tokens().
File
- ./
logintoboggan.module, line 1069 - LoginToboggan module
Code
function logintoboggan_eml_validate_url($account, $url_options) {
$timestamp = REQUEST_TIME;
return url("user/validate/{$account->uid}/{$timestamp}/" . logintoboggan_eml_rehash($account->pass, $timestamp, $account->mail, $account->uid), $url_options);
}