321dev
BABetter Auth
•Created by 321dev on 4/1/2025 in #help
perform action after successful email verification
nvm, found it:
const user = await ctx.context.internalAdapter.findUserByEmail(email);
6 replies
BABetter Auth
•Created by 321dev on 4/1/2025 in #help
perform action after successful email verification
thanks, but the only piece of information in the ctx object that i could use, is the user's email address. is there a function to retrieve the whole user data based on the email address?
6 replies