• Resolved aramaz

    (@aramaz)


    Is there a plugin or a hack to make the passwords on password protected pages case insensitive? I want the main admin login to stay as it is now, case sensitive, but for the password protected pages it should be that it doesn’t matter whether a user enters ABCD or abcd ass password.

    Any ideas on how I can code this without compromising security?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter aramaz

    (@aramaz)

    I managed to solve this by using the add_filter function in the theme functions file and making my own post_password_required function that transforms the entered password to uppercase and checks whether it matches the uppercase password I set for the page.

    Relevant Codex pages:
    add_filter()
    post_password_required()

    Hi aramaz,

    I am looking to implement the same thing. Can you clarify the code you used to accomplish this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Case insensitive passwords ONLY on password protected pages?’ is closed to new replies.