public function MigratePassword::disableMd5Prefixing in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/user/src/MigratePassword.php \Drupal\user\MigratePassword::disableMd5Prefixing()
Disables the MD5 password prefixing.
File
- core/
modules/ user/ src/ MigratePassword.php, line 80 - Contains \Drupal\user\MigratePassword.
Class
- MigratePassword
- Replaces the original 'password' service in order to prefix the MD5 re-hashed passwords with the 'U' flag. The new salted hash is recreated on first login similarly to the D6->D7 upgrade path.
Namespace
Drupal\userCode
public function disableMd5Prefixing() {
$this->enabled = FALSE;
}