• My goal is to display a different menu for users who have entered the correct password.
    Is there a way to either programatically check if the password is entered, or is there any support to display a different menu (containing links to protected pages) once the password is entered?

Viewing 1 replies (of 1 total)
  • Plugin Author jojaba

    (@jojaba)

    Hello,
    To programatically check if the right password has been provided, check the $_SESSION[‘acpwd_session’] value. If the value is 1, then the password was right.

    if ($_SESSION['acpwd_session']  == 1) {
       // display the menu
    } else {
       // Don't display the menu
    }

    Regards, Jo?l

Viewing 1 replies (of 1 total)
  • The topic ‘Check if password is entered’ is closed to new replies.