perform action after successful email verification
using ionic/vue client with express.js backend
i want to perform an action after successful email verification. a possible place would be databaseHooks.user.update.before but unfortunately the object passed to this method only contains the updated property, e.g. { emailVerified: true }, nothing else.
if i use databaseHooks.user.update.after, i get the whole user data, but i don't know if the update was caused by email verification or any other reason.
and ideas?
suggestion: please pass "userData" and"user" to the callback.