On a site running EE 2.7.2 there is a problem with resetting passwords from the auto-generated reset link.
When a user clicks on Forgot your password? at the login screen and submits their email address, an email with the following link is generated:
http://sitexyz.com/index.php?S=0&D=cp&C=login&M=reset_password&resetcode=KJ82wnTS
However, when you click on that link it takes you to the home page instead of the password reset page. Any clues why this is happening and what the solution is?