Updated username normalization removed the ability to unnormalized displayUsernames specifically

in commit Commit 41fb4d1, a usernameNormlization funcation was implemented. Specifically in username/schema.ts the normalizer was hardcoded into the displayUsername so I no longer can have unnormalized display usernames in my application.
6 Replies
Sean
SeanOP2w ago
🙏 seems like you got it handled for me
UV
UV2w ago
Is the fix working for you in the latest version? (Just wanted to double check it's not something on my end)
Sean
SeanOP2w ago
It is, I can help you if you’d like. They added a display username normalization variable into the username plugin function. Add displayUsernameNormalziation: false, it should be set to false as defsult.
UV
UV2w ago
Turns out it wasn't an issue with my code, there was some Docker issue and my node_modules didnt update in that 😭 . It works now, thanks for offering though!
Sean
SeanOP2w ago
No worries!

Did you find this page helpful?