WordPress Passwords

Categories

Component ID

2384473

Component name

WordPress Passwords

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

A small module that enables the use of WordPress-hashed passwords in Drupal 7. The module checks if a user's password validates successfully against WordPress's hashing technique whilst a user is attempting to log in, and rehashes the password using Drupal's built-in hashing technique - effectively converting the user's password from a WordPress hash to a Drupal hash without any manual intervention.
This module was created as a result of needing to seamlessly import 4500+ users from an existing WordPress site into rebuild of the same site using Drupal without any action on the user's behalf.

The module requires the file class-phpass.php from WordPress 3.8.0, which is licensed under GPL v2. See https://wordpress.org/about/gpl/ for more information.
class-phpass.php can be found at https://raw.githubusercontent.com/WordPress/WordPress/3.8-branch/wp-incl...

Clone at git://git.drupal.org/sandbox/selexin/2384473.git