Call to deprecated function user_password()

Created on 4 October 2023, 12 months ago

Problem/Motivation

The ldap project is using deprecated functions, not compatible with Drupal 10.

 ------ -------------------------------------------------------------------------
  Line   ldap_user\ldap_user.module
 ------ -------------------------------------------------------------------------
  290    Call to deprecated function user_password():
         in drupal:9.1.0 and is removed from drupal:10.0.0. Use
           \Drupal\Core\Password\PasswordGeneratorInterface::generate() instead.
 ------ -------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------
  Line   ldap_user\src\EventSubscriber\LdapEntryProvisionSubscriber.php
 ------ -------------------------------------------------------------------------
  415    Call to deprecated function user_password():
         in drupal:9.1.0 and is removed from drupal:10.0.0. Use
           \Drupal\Core\Password\PasswordGeneratorInterface::generate() instead.
  425    Call to deprecated function user_password():
         in drupal:9.1.0 and is removed from drupal:10.0.0. Use
           \Drupal\Core\Password\PasswordGeneratorInterface::generate() instead.
 ------ -------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------------------------
  Line   ldap_user\src\Processor\DrupalUserProcessor.php
 ------ ----------------------------------------------------------------------------------------------------------
  737    Call to deprecated function user_password():
         in drupal:9.1.0 and is removed from drupal:10.0.0. Use
           \Drupal\Core\Password\PasswordGeneratorInterface::generate() instead.
 ------ ----------------------------------------------------------------------------------------------------------

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024