function user_email_verification_extended_url in User email verification 7
Generate the
Parameters
unknown $account:
Return value
string
1 call to user_email_verification_extended_url()
- user_email_verification_tokens in ./
user_email_verification.tokens.inc - Implements hook_tokens().
File
- ./
user_email_verification.module, line 518 - This module allows you to have e-mail verification and in meanwhile allowing the users to type their own passwords. If they do not verify their accounts in a certain time interval the user will be blocked.
Code
function user_email_verification_extended_url($account) {
$timestamp = REQUEST_TIME;
$hmac = user_email_verification_hmac($account->uid, $timestamp);
return url("user/email-verify-extended/{$account->uid}/{$timestamp}/" . $hmac, array(
'query' => array(
'language' => $account->language,
),
'absolute' => TRUE,
));
}