6 Replies
I assume you are trying to create a organizaation when the user signs up?
You are not providing the user's email, it is not a better-auth error.
ex.
hey, thanks for you reply
i'm trying to create new org with signed in user.
Do you have onboarding or are you trying to make like a Personal organization when they sign up automatically?
if the user is signed in the email should be inherited from the current user session right ?!
remove the email field from your schema
yup now working, silly me 😒
thank you @bekacru