Add a retry link on email verification failure

Hi all

When a user requests a verification link and it expires, the user is presented with an error screen that just says “Error. Your email address could not be verified” and a button that says “Back to All Applications”.

Is there a way to provide a button that lets the user resend the verification email so they don’t have to bounce back to the app and then back again? Or alternatively, is there a redirect we can set up only for failures? I know we can set a redirect for successful verifications, but it doesn’t look like this can be done for failures and the “Back to All Applications” button will take the user back to the login screen.