3
I found a simple workaround for it. In the user configuration, I changed the maximum length for user name to 25 chars, and the user name filter to "light", so that XOOPS will allow users to register with user name the same as email address. The registered user can now use his email as user name to log in.