Hi, I’m allowing users to register from my website and using directus sdk.
While doing
const result = await client.request(
registerUser(email, password, { first_name: firstName, last_name: lastName, verification_url: verificationUrl })
);
result is null even when email is already used by an existing user.
I tried with a CURL to users/register and it just returns a 204. No verification email is sent for existing users, while it works flawlessly for non-existing users.
I haven’t changed anything in the directus_users default fields, if not adding one that’s a relationship.
What could be causing this? I want to implement error handling and this is not letting me ![]()