Building an app where users can update their email! To ensure security, I'm looking into the best way to verify the new email address. Any insights or best practices you guys can share?
Account:
const result = await account.updateEmail(
'email@example.com', // email
'password' // password
);
Users:
const result = await users.updateEmail(
'<USER_ID>',
'email@example.com'
);
I tried this function, but couldn't find the option for email verification using these function.