summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Phillips2010-01-15 17:39:21 (GMT)
committer Chad Phillips2010-01-15 17:39:21 (GMT)
commitd20a369b47a5107896240d57bd56b7ca27c45966 (patch)
tree90ddb9e2f722ab061e634f9032d4bbc17d1527d1
parent44fb2c7ef44deaf38aea44cc5025b92c28097ada (diff)
switch to using user_pass_rehash\(\) for validation hashes.
-rwxr-xr-xlogintoboggan.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/logintoboggan.module b/logintoboggan.module
index 4af9ffd..99da979 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);
}
/**