Users can register accounts with capital letters or spaces in the names, but cannot login

Description

Reported in the Open Chat.

Environment

None
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

wroot