Commit 77218e4a authored by Committed by Sam HemelrykBrowse files
MDL-42993 auth: spaces removed from usernames by default only
Functionality by default does not change with this patch. However spaces are no longer stripped when cleaning usernames IF $CFG->extendedusernamechars has been set. Also included 2 trim statements where small issues were found with reading external usernames in that were not filtered for trailing whitespaces.