diff --git a/logintoboggan.module b/logintoboggan.module index 4af9ffda539f353aec4439ae1868fb517f6c63fc..99da9798bbc50e81cdc271c120d2d8c895b9e1b6 100755 --- a/logintoboggan.module +++ b/logintoboggan.module @@ -927,8 +927,8 @@ function logintoboggan_eml_validate_url($account){ return url("user/validate/$account->uid/$timestamp/".logintoboggan_eml_rehash($account->pass, $timestamp, $account->mail), NULL, NULL, TRUE); } -function logintoboggan_eml_rehash($password, $timestamp, $mail){ - return md5($timestamp . $password . $mail); +function logintoboggan_eml_rehash($password, $timestamp, $mail) { + return user_pass_rehash($password, $timestamp, $mail); } /**