This question already has an answer here:
I have a website built with PHP and HTML I made a sub-directory and install WordPress on it.
My problem is users should register twice on WordPress and on my php website.
What I want is to make WordPress use the same passwords that I stored in the database of my website.
How I can achieve that if it's possible?