You are here

function logintoboggan_eml_validate_url in LoginToboggan 6

Same name and namespace in other branches
  1. 5 logintoboggan.module \logintoboggan_eml_validate_url()
  2. 7 logintoboggan.module \logintoboggan_eml_validate_url()
3 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
_logintoboggan_mail_notify in ./logintoboggan.module
Conditionally create and send a notification email when a certain operation happens on the given user account. This is a knock-off of _user_mail_notify() customized for LT.

File

./logintoboggan.module, line 1066
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, $account->uid), array(
    'absolute' => TRUE,
  ));
}