plugins: [
tanstackStartCookies(),
admin(),
emailOTP({
overrideDefaultEmailVerification: true,
sendVerificationOnSignUp: true,
async sendVerificationOTP({ email, otp, type }) {
console.log('HEEEERE ----------------------------->');
console.log('type:', type, otp);
// if (type === 'email-verification') {
// await send_activation_code_email({ data: { email, otp } });
// }
},
}),
],
plugins: [
tanstackStartCookies(),
admin(),
emailOTP({
overrideDefaultEmailVerification: true,
sendVerificationOnSignUp: true,
async sendVerificationOTP({ email, otp, type }) {
console.log('HEEEERE ----------------------------->');
console.log('type:', type, otp);
// if (type === 'email-verification') {
// await send_activation_code_email({ data: { email, otp } });
// }
},
}),
],