Problem/Motivation

The function user_password() is deprecated.

See: https://www.drupal.org/project/drupal/issues/3153085

CommentFileSizeAuthor
#2 3189049-2.patch586 bytespaulocs

Comments

paulocs created an issue. See original summary.

paulocs’s picture

Status: Active » Needs review
StatusFileSize
new586 bytes

Status: Needs review » Needs work

The last submitted patch, 2: 3189049-2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

idebr’s picture

Title: Replace deprecated user_password() » [D9.1+] Replace deprecated user_password()
cesarmiquel’s picture

Looked a little at this. The problem is that the service password_generator is available in Drupal 9.1 but not in Drupal 8.x so the test will fail. I'm not sure how this should continue. Probably need to create a new version 9.x-1.x-dev for the pathauto module?

berdir’s picture

Status: Needs work » Postponed

> I'm not sure how this should continue.

Simple. We wait.

Drupal 8 support will end next year, then we'll increase the minimum supported version to 9.something, whatever is necessary and still supported.

Just like it worked on D8 => D9 when we required 8.7/8.8 at some point.

No need to hurry on D9 deprecations, they're not going away until June 2022, 6 month after support for D8 ends.

mably’s picture

Status: Postponed » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.