Cannot log in with certain usernames

Created on 16 August 2024, 3 months ago

Problem/Motivation

Some users can no longer authenticate into Drupal after update. It has been found to be a certain format of username that used to work.

Steps to reproduce

- Access route for new user: /admin/people/create
- Leave email field blank
- Enter username of "a.b@c.d" with any password and role.
- Save User
- Try authenticating with user a.b@c.d

This used to work in prior versions of Gin Login.

🐛 Bug report
Status

Closed: cannot reproduce

Version

2.1

Component

Code

Created by

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

Comments & Activities

  • Issue created by @narbehm
  • Status changed to Postponed: needs info 3 months ago
  • 🇨🇭Switzerland saschaeggi Zurich

    Did you check the logs for PHP errors and the developer console in the browser for any site specific JS errors?

    I can't think of how Gin Login would be involved in any form here.

    Does it work if you deinstall Gin Login?

  • My apologies. After uninstalling Gin Login, the issue still persists. It must be related to core or perhaps another module. I will do more investigating to see where the issue is. The logs just show and unsuccessful login. If I change the username to a.b@c. it works. It's only when I have a username of x.x@x.x where it stops working. Perhaps the authentication logic in core is recognizing this as an email and attempting to find a user with that email even though it's a username.

    In any case, these users were able to authenticate with no in D 10.2.7 and not cannot after updating core to 10.3.2 along with all used modules.

    You can close this issue and sorry for the mistake.

  • Status changed to Closed: cannot reproduce 3 months ago
  • 🇨🇭Switzerland saschaeggi Zurich

    Alright will close this issue. A good place to start might be to have a look at Core's issue queue for any known issues.

    Cheers!

Production build 0.71.5 2024