New password and confirm password "doesn't match" Or "don't match"

Which is grammatically correct for using on the website?

New password and confirm password "doesn't match" Or "don't match".


Solution 1:

New password and confirm password "doesn't match" Or "don't match".

In this case the subject is plural so use "don't"

If you want to use "doesn't" then you can rewrite as follows in order to have a singular subject.

Confirm password doesn't match New password (singular subject)

Solution 2:

These are obviously two separate "things", calling for don't thus.