Hello. My login strategy implements creating account if it doesn't exist:

uid = await User.create({username: player.playerName, email: player.emailAddress});

but "email taken" error occurs. Is this possible to allow multiple accounts with the same email? If I somehow set this in the database, for example, through User.setUserField, will anything break or is this just a way to prevent multiaccounts?

0

If you have a fediverse account, you can quote this note from your own instance. Search https://community.nodebb.org/post/106876 on your instance and quote it. (Note that quoting is not supported in Mastodon.)