"Duplicate, Google search selected a different canonical page than the user" in Search Consol

The website had a password set when the website was created. The password has already been removed, but Google search console has recognized the page https:/…/password as canonical and the warning “Duplicate, Google search selected a different canonical page than the user” appears. What to do in this situation?