I need to add a passkey to each user, so I decided to just giving the user password that value and use WP functionality to store it/retrieve it.
So now I need to find what user that password belongs to, so a single field would be necessary to identify him, rather than asking for email AND passkey.
How do I find a user by password? I know what is stored in the DB are not passwords, but something else, but I don't care. We won't have enough users for getting two with the same MD5 (or whatever is stored)
Thanks.