Enforced prevention of spaces in Usernames - Issue 30429

Implemented JS username Validation bugfix