apigee / apigee-m10n-drupal

Add monetization features to a Drupal developer portal
https://www.drupal.org/project/apigee_m10n
GNU General Public License v2.0
13 stars 13 forks source link

user_password() is deprecated in drupal:9.1.0 #374

Closed phdhiren closed 2 years ago

phdhiren commented 2 years ago

Description

user_password() is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Password\PasswordGeneratorInterface::generate() instead.

Steps to Reproduce

While running tests above deprecation notice is visible

Notes

See https://www.drupal.org/node/3153113

phdhiren commented 2 years ago

It was fixed in an earlier commit