drush uli not working in Drupal 9.3

Created on 17 December 2021, almost 3 years ago
Updated 2 October 2023, about 1 year ago

Problem/Motivation

When using drush uli to login to the site an error is shown:

ArgumentCountError: Too few arguments to function Drupal\user\Controller\UserController::resetPassLogin(), 3 passed in /app/web/modules/contrib/simple_pass_reset/src/Controller/User.php on line 39 and exactly 4 expected in Drupal\user\Controller\UserController->resetPassLogin() (line 224 of core/modules/user/src/Controller/UserController.php).

Steps to reproduce

Run drush uli to using the url to login.

Proposed resolution

Update "resetPassLogin" method to have the extra argument.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom 3li U.K. πŸ‡¬πŸ‡§

Live updates comments and jobs are added and updated live.
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