teamhanko / passkeys

FIDO2-certified passkey server and SDKs for adding passkey support to any auth system
https://hanko.io/passkey-api
GNU Affero General Public License v3.0
115 stars 8 forks source link

username does not get changed #10

Closed FreddyDevelop closed 10 months ago

FreddyDevelop commented 10 months ago

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).