Problem/Motivation

When a user entity is created with a username set, but no email, the presave hook overwrites the username to an empty value, because no email is set.

Proposed resolution

Only set the username to the email address, if an email is actually set.

Comments

chfoidl created an issue. See original summary.

  • chfoidl committed 5c82bffb on 1.0.x
    Issue #3436429: Overwrites username with empty email
    
chfoidl’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.