Closed FaZeRs closed 1 year ago
The current behaviour is that if no validated account exists then we try to create the customer, maybe we can change that to just check if any accounts exists with the email?
I think this error is because password
field is missing. When I try to register using signup form it works. If you call CustomerService.create
method error will be the same.
https://github.com/medusajs/medusa/blob/develop/packages/medusa/src/services/customer.ts#L328
Yes and because a guest account already exists for this email
I will be 3 weeks away and tried to relax a bot, maybe if you could ipen a pr if you feel something can be done as a proposal so i can look at it when i am free, would you be keen to do that @FaZeRs ? 😍
@adrien2p as I see alternative would be to create method in auth plugin which does the input data validation and creates customer using CustomerRepository
. Maybe you have got any other ideas?
Did you find a solution for your case?
medusa-plugin-auth I'm receiving
Internal Server Error
if I'm trying to register after I have made an order without registration