With this modal, we gave Clipchamp users the ability to change their email. Often the way to verify that the correct user is changing their password is to ask for them to enter their password. As not all Clipchamp users have a password set we had to think of another way to verify them.
This flow verifies the user by asking them to enter a code sent to their current email address as well as their new email address. This way the input required by the user stays in the one location in Clipchamp and doesn't require them to open multiple verification links.