This page redirects to an external site: https://developer.wordpress.org/reference/hooks/password_reset/
Runs after the user submits a new password during password reset but before the new password is actually set.
<?php
add_action( 'password_reset', 'my_password_reset', 10, 2 );
function my_password_reset( $user, $new_pass ) {
// Do something before password reset.
}
?>