Hey @rp_st was actually figuring out alot today and stuck at this
wasn't actually able to ovverride and send in emails to verify accounts, can you help me what exactly to do ?
below is the config from the BE. and i wasn't able to console the input, am i doing something wrong ? or am i missing something ?
EmailVerification.init({
emailDelivery: {
override: (originalImplementation) => {
return {
...originalImplementation,
sendEmail: async function (input) {
return console.log(input, "Hello");
// TODO: create and send email verification email
// Or use the original implementation which calls the default service,
// or a service that you may have specified in the emailDelivery object.
// return originalImplementation.sendEmail(input);
},
};
},
},
mode: "REQUIRED",
}),