Padding/whitespace in user identity string not removed before saving
Summary
When adding or modifying a user identity in the admin area, any whitespace/padding on either end of the string is not removed when saving.
Steps to reproduce
- Follow these steps to get to the user identity view.
- Either add or modify an existing identity in the user interface, with having either a leading or trailing space character.
- Save
What is the current bug behavior?
Attempt to login, the user is not able to.
What is the expected correct behavior?
Either: The leading and/or trailing whitespace should be removed from the string before saving, or the user is prompted to verify that they do indeed want to save with whitespace in the string.