Reset password not working

some code I wanted to remove the post