Username mismatch error during registration
A user encountered the following error when creating a 4 letter username with lowercase letters only.
There seems to be the following issue(s) with your user account:
Username mismatch error, please contact system administrator to fix your account.
Has anyone else experienced this error? The account appears fine from the backend and the user can login to the front end. Is there something else the System Admin should look for?
0 Like 0 Dislike
Martin Paulo @ on
I ran into this as well. A look at the code reveals that HubZero is comparing the user id in the database against the user id in the underlying operating system. If the two don't match this error message is shown.
To fix it I made a note of the user id shown in the Users -> Members manager, then at the command line on the system confirmed that they were different:
$ id -u alan
501
Having done that I updated the users system id to match that in the database:
$ usermod -u 1001 alan
And the problem was solved. Of course if that user id was already in use for another user I would have had some more work to do :)
Reply Report abuse
Please login to answer the question.