Révision 76df55b7
Ajouté par Benjamin Luce il y a presque 9 ans
drupal7/sites/all/modules/i18n/i18n_user/i18n_user.module | ||
---|---|---|
54 | 54 |
*/ |
55 | 55 |
function i18n_user_user_pass_reset_url($account) { |
56 | 56 |
$timestamp = REQUEST_TIME; |
57 |
return url("user/reset/$account->uid/$timestamp/" . user_pass_rehash($account->pass, $timestamp, $account->login), array('absolute' => TRUE, 'language' => i18n_language($account->language))); |
|
57 |
return url("user/reset/$account->uid/$timestamp/" . user_pass_rehash($account->pass, $timestamp, $account->login, $account->uid), array('absolute' => TRUE, 'language' => i18n_language($account->language)));
|
|
58 | 58 |
} |
59 | 59 |
|
60 | 60 |
/** |
... | ... | |
65 | 65 |
*/ |
66 | 66 |
function i18n_user_user_cancel_url($account) { |
67 | 67 |
$timestamp = REQUEST_TIME; |
68 |
return url("user/$account->uid/cancel/confirm/$timestamp/" . user_pass_rehash($account->pass, $timestamp, $account->login), array('absolute' => TRUE, 'language' => i18n_language($account->language))); |
|
68 |
return url("user/$account->uid/cancel/confirm/$timestamp/" . user_pass_rehash($account->pass, $timestamp, $account->login, $account->uid), array('absolute' => TRUE, 'language' => i18n_language($account->language)));
|
|
69 | 69 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules