User sync with empty email is broken

Created on 22 August 2025, about 2 months ago

Problem/Motivation

When a user gets created without an email address, e.g. with drush, the user sync search for a user with an empty string and therefore finds all users. And it then assumes, that the first one found is the that is a match.

Proposed resolution

Never search for an empty string, search for the username instead in that case.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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

Comments & Activities

Production build 0.71.5 2024