function logintoboggan_eml_validate_url in LoginToboggan 5
Same name and namespace in other branches
- 6 logintoboggan.module \logintoboggan_eml_validate_url()
- 7 logintoboggan.module \logintoboggan_eml_validate_url()
2 calls to logintoboggan_eml_validate_url()
- logintoboggan_resend_validation in ./
logintoboggan.module - Re-sends validation e-mail to user specified by $uid.
- logintoboggan_user_register_submit in ./
logintoboggan.module - Custom submit function for user registration form
File
- ./
logintoboggan.module, line 957 - Logintoboggan Module
Code
function logintoboggan_eml_validate_url($account) {
$timestamp = time();
return url("user/validate/{$account->uid}/{$timestamp}/" . logintoboggan_eml_rehash($account->pass, $timestamp, $account->mail), NULL, NULL, TRUE);
}