Hi there, I am getting errors when users try and login using a username - it works OK with an email address:

TypeError: Drupal\mail_login\AuthDecorator::lookupAccount(): Return value must be of type Drupal\user\UserInterface|false, null returned in Drupal\mail_login\AuthDecorator->lookupAccount() (line 125 of /xxx/public_html/modules/contrib/mail_login/src/AuthDecorator.php).

I can't revert to an earlier version because they are not 10.3 compatible. I guess I could roll back the commit, would that cause problems?

Comments

Jon Pollard created an issue. See original summary.

narbehm’s picture

I can confirm once updating to 4.0 with Drupal 10.3.1, login no longer works with username. Had to downgrade to 3.0.

mqanneh’s picture

I'm working on a fix for this. in the meantime you can use v3.0.0 until this issue is resolved

  • mqanneh committed d34f2d24 on 4.0.x
    Issue #3462447 by mqanneh: error logging in with username
    
mqanneh’s picture

mqanneh’s picture

Status: Fixed » Closed (fixed)