Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Signature of user_pass_rehash()
function has changed since Drupal 7.35 as a part of the security fix, we have to pass user ID to it from now on. Patch follows.
Comment | File | Size | Author |
---|---|---|---|
#1 | user_registrationpassword-2455393-1.patch | 7.5 KB | Dmitriy.trt |
Comments
Comment #1
Dmitriy.trt CreditAttribution: Dmitriy.trt commentedComment #2
klausiI was just working on the exact same patch :-)
Works for me, thanks!
Comment #7
Rob C CreditAttribution: Rob C commentedTested, committed, merged.
Thanks for the patch + for also updating tests!
Will roll a new RC later today.
Apologies for the spam, got wrong active git credentials.
Comment #8
klausiI can't download that release, see #2459835: 1.4-rc2 cannot be downloaded with drush, create 1.4.
Comment #9
vladan.me CreditAttribution: vladan.me commentedThis really needs to be asap 7.x.-1.4 since a lot of people will update Drupal without knowing that this module will break and when it does, it breaks bad ;)
Comment #10
Rob C CreditAttribution: Rob C commentedEverybody is able to download the 1.4-rc2, see https://www.drupal.org/node/1050930/release
For some reason it's not added as the latest version anymore on the project page and i'm unable to select 1.4-rc2 as the current adviced version, but i won't be releasing 1.4 this month, we need a bit more time to test things.
Comment #11
vladan.me CreditAttribution: vladan.me commentedYes, it's more about advised version, less about naming. I have no idea either why it's not updated...
Comment #12
klausi1.4-rc2 is not the latest stable version, since a rc release can never be a stable version. The project page shows the latest stable version which is 1.3.
Comment #13
Rob C CreditAttribution: Rob C commentedI've seen it work for release candidates before, no idea when this changed. 7.x-1.3-rc1 was also a release candidate and was listed on the project page for some time. I'll create the 1.4 soon enough anyway, give it a couple weeks +/-.
Comment #15
rudiedirkx CreditAttribution: rudiedirkx commentedReleasing beta's and rc's during stable is useless, because Drupal won't show them on the project page and Drush won't download them.
There is of course an issue for that: #647428: Show latest prerelease (if different from recommended release) with dev releases
Still, this module should work around it and release 1.4 IMO.
Comment #16
Rob C CreditAttribution: Rob C commentedVoila: https://www.drupal.org/node/2485845 (might take a couple hours for it to generate the archive)
Comment #17
sh radhoush CreditAttribution: sh radhoush commentedit is incompatible with drupal 7.34. how can I fix it with a patch?
Comment #18
Rob C CreditAttribution: Rob C commentedAll versions before 1.4-RC2 are compatible with everything below core 7.35. But won't guarantee anything (like security).
You could try to revert this patch, but the idea is to only update the module when you update drupal core to 7.35. (that's what this issue is about).
Comment #19
rudiedirkx CreditAttribution: rudiedirkx commentedAnd you should update Drupal core to 7.35, because it's a security update.