Help with storing secondary/backup email for users

I'm migrating from a next-auth setup where my users table has two fields - secondary_email and secondary_email_verified. I need to be able to send an email to the secondary email to validate it and update the secondary_email_verified state. I would do this using a magic link. Has anyone done something like this? Is there a way to hook into the email verification step using magic link plugin?
1 Reply
Ping
Ping2w ago
I'm not sure you can use something like magic link for this case unfortunately. But I will bring up the idea of a backup-email to the team, as it doesn't sound like a bad idea to maybe make a plugin or something out of it.

Did you find this page helpful?