Need to match string WITHIN password
I’d like to password protect a page and its downloads on a website; but I want to count ANY string including ‘zhq’ as passing the password test. That way, some of my users can sign-in using ‘zhqrutland’ and others ‘zhqwaterbury’, etc.
I imagine this involves using regex to test whether each password string CONTAINS ‘zhq’.
But I don’t know whether there’s a plugin to do this, or a known elegant method. And if not, I don’t know where to start hacking.
Direction is most welcome! Thanks,
- The topic ‘Need to match string WITHIN password’ is closed to new replies.