Closed (fixed)
Project:
Secure Password Hashes
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2008 at 15:34 UTC
Updated:
12 Feb 2010 at 20:30 UTC
Hi,
Since my problem with phpass dev (http://drupal.org/node/302553) I get random issues : I can connect or I can not.
I think that it comes from phpass.
I tried
- to go back to md5
- to remove phpass, but it can't.
Does any one know How to remove phpass from a^production site ?
and give my users ability to connect, either directly or after asking a new password ?
Thank you very much.
Comments
Comment #1
nicholas.alipaz commentedI too found this to be an issue on a live site I was using. While staying logged in, I uninstalled phpass then I just put the following script into a node/add form with the php filter turned on then clicked preview one time. Be sure not to save it in the node.
Warning, this script could take considerable amount of time to execute depending on the number of users you have:
be sure to change the Site Name and email and such to suit your needs. This could be added to the uninstall script if someone were so inclined.
Note, if you are getting timeouts trying to run this then it might be useful to comment in the commented out lines and just run a few emails at a time. It is currently set to do 20 if he lines are commented in.
Comment #2
chipway commentedHi,
Thank you Nicholas, but in fact since this issue i run Secure Password Hashes (phpass) 6.x-1.x-dev (2008-Nov-25) on a prod site for a lot of time with no probleme.
Regards
Comment #3
nicholas.alipaz commentedglad your issue was solved. I originally installed for integration between phpBB3 and Drupal but have since converted the whole site to Drupal. I recently found another module that seemed to conflict with phpass so I needed to convert everyone to MD5.
Comment #4
owen barton commentedThe above script should do it, or you could use http://drupal.org/project/password_expire to force users to change their passwords.