Prevent staff accounts from having leading or trailing spaces
We accidentally created a staff account that was 'NNN ', with 2 trailing spaces. It took a little bit of fiddling to figure out why the person couldn't log in. To me, it makes sense to validate against this on staff account creation and prevent it.
1
vote
![](https://secure.gravatar.com/avatar/db1deddf7c31ed6b7a20819556c4e38e?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Trip Kirkpatrick commented
Multiple leading spaces might be easier to see generally speaking, but one leading space might be difficult to see.