Skip to content

[5.x] Fix user name and email logic#14079

Merged
jasonvarga merged 4 commits into5.xfrom
user-email
Feb 25, 2026
Merged

[5.x] Fix user name and email logic#14079
jasonvarga merged 4 commits into5.xfrom
user-email

Conversation

@jasonvarga
Copy link
Copy Markdown
Member

$user->name(), as the method name suggests, should return the user's name. Previously it would fall back to the email. Now it falls back to null as expected.

The users fieldtype now only displays emails if you have permission to view users.

@jasonvarga jasonvarga changed the title [5.x] Update user name and email logic [5.x] Fix user name and email logic Feb 25, 2026
@jasonvarga jasonvarga merged commit 7f50c95 into 5.x Feb 25, 2026
29 checks passed
@jasonvarga jasonvarga deleted the user-email branch February 25, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant