Support » Plugin: Password Protected » [Plugin: Password Protected] Whole site not protected

Viewing 2 replies - 1 through 2 (of 2 total)
  • gmisura

    (@gmisura)

    I added

    add_action( ‘login_head’, array($this, ‘maybe_show_login’ ), 1);

    to

    wp-content/plugins/password-protected/password-protected.php

    right after

    add_action( ‘template_redirect’, array( $this, ‘maybe_show_login’ ), 1 );

    Though I think that is causing the login/register page to require 2 attempts.

    Plugin Author Ben Huson

    (@husobj)

    The admin is not protected as you already require a username and password to login so seems a bit pointless.

    I suppose it would be possible to protect the admin login pages if you really wanted to to, then you would have to enter your Password Protected password to se ethe username/password admin login, then login. Have added it as a possible issue for the future:
    https://github.com/benhuson/password-protected/issues/7

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Password Protected] Whole site not protected’ is closed to new replies.