When a user is already created in the DB, the username does not get changed, when initialising a new registration, Instead the stored username is returned. We should change the username in the DB and return the new username.
We might also limit the length of a username to a reasonable value (e.g. 128 bytes).
When a user is already created in the DB, the username does not get changed, when initialising a new registration, Instead the stored username is returned. We should change the username in the DB and return the new username.
We might also limit the length of a username to a reasonable value (e.g. 128 bytes).