Allow disabling of migrate password rehash

Created on 26 April 2019, over 5 years ago
Updated 14 March 2023, over 1 year ago

Problem/Motivation

When migrating D6 passwords, it is difficult to disable the md5 rehashing process because of the format of the if statement. Password hashing is a critical path in the speed of a migration and disabling the rehashing is a useful feature when you want to improve migration times by offloading the rehash to a separate migration or script.

Proposed resolution

Modify the if to allow disabling the rehash logic.

Remaining tasks

Review

User interface changes

N/A

API changes

FALSE for the md5_passwords property no longer triggers password hashing but disables it. This is arguably a bug fix but is a different behavior.

Data model changes

N/A

🐛 Bug report
Status

Needs work

Version

10.1

Component
Migration 

Last updated 3 days ago

Created by

🇺🇸United States neclimdul Houston, TX

Live updates comments and jobs are added and updated live.
  • Needs documentation

    A documentation change is requested elsewhere. For Drupal core (and possibly other projects), once the change has been committed, this status should be recorded in a change record node.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024