I don't think Tank Auth places any restrictions on spaces/characters in the username, it's more likely to be the collation on your users
table. Tank Auth uses SQL LOWER()
functions to compare usernames to input, so SQL LOWER('whatever is in the DB')
must equal PHP strtolower('whatever the user entered')
.
If your users
table is not defined with collation UTF8_GENERAL_CI
, try changing it to that.
If that doesn't fix it, the code in models/tank_auth/users.php
is very simple, so you can easily adapt it to meet your needs.