• 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,
    ~Brendan

    http://wordpress.org/extend/themes/password/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    So regardless of those users’ usernames, if their password has ‘zhq’ they will be signed in?

    Thread Starter doclalor

    (@doclalor)

    Yes – and if possible, I’d do away with the prompt for username on this one occasion.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need to match string WITHIN password’ is closed to new replies.