[FIX] Trim white leading/trailing white space from username before creating user (otherwise it will be save inthe database, and might cause unpredictable issues as it's too easy to accidentally register with trailing spaces - in particular we discovered it makes get_user_email fail if the login name provided as input lacks that trailing space. (we found 0.7% of users on one of our sites had trailing space iin their username)
[FIX] Trim white leading/trailing white space from username before creating user (otherwise it will be save inthe database, and might cause unpredictable issues as it's too easy to accidentally register with trailing spaces - in particular we discovered it makes get_user_email fail if the login name provided as input lacks that trailing space. (we found 0.7% of users on one of our sites had trailing space iin their username)


git-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@56771 b456876b-0849-0410-b77d-98878d47e9d5

oregional/tiki,tikiorg/tiki,oregional/tiki,tikiorg/tiki,tikiorg/tiki,oregional/tiki,oregional/tiki,tikiorg/tiki