Closed (fixed)
Project:
Login one time
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Feb 2016 at 16:38 UTC
Updated:
27 Jul 2016 at 16:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joelpittetComment #3
vaibhav29 commentedHi joelpittet,
Thanks for the working patch. Its already implemented in D7.
If you are still using D6, Please try to upgrade in D7 or D8.
Comment #4
bapi_22 commentedComment #6
bapi_22 commentedMerged the patch with 6.x-2.x-dev.
Comment #7
joelpittetThanks for committing this. I'm planning an upgrade, that's why I touched this;)
Comment #9
karlsheaThis is still broken. The email sends a link with a hash generated by login_one_time_get_hash, which is then compared to the hash returned by user_pass_rehash which now doesn't match.
Attached is a patch against dev that removes login_one_time_get_hash and updates the email to use user_pass_rehash to match the comparison.
Comment #10
karlsheaComment #11
bapi_22 commentedHi KarlShea,
Thanks for the update & patch. I think it was not related to the issue related to 4th arguments.
In earlier version of drupal 6 user_pass_rehash function returns md5 hash. So Its was working. But in latest version of drupal 6 the logic has been changed and returns drupal_hmac_base64 instead of md5. It has already implemented in drupal 7. So you can create another issue regarding the same and submit the patch again.
Comment #12
karlshea