generateName in Anonymous plugin for username instead of name

I saw the PR for maintaining unique names in anonymous but does that work for username login and how can I set the username? I seems like generateName only works with name not username
6 Replies
SW9876
SW9876OP3w ago
Bump @Ping
Ping
Ping3w ago
Can you give me the link to the PR?
SW9876
SW9876OP3w ago
GitHub
feat(anonymous): Custom anonymous names by ping-maxwell · Pull Req...
In some cases, name is unique in the DB, so this allows the dev to configure generating a random name via the plugin config. If suitable, in the future we can consider customizing name (and maybe ...
SW9876
SW9876OP3w ago
I would like to be able to use the anonymous plugin and the username plugin at the same time essentially. Username is required for me but I also need to support anonymous login Thanks for the response
Ping
Ping3w ago
Hey can you try this in your auth config? @SW9876
No description
SW9876
SW9876OP3w ago
I will try that when I get home thank you!

Did you find this page helpful?