Since upgrading to v3.2.10 we have an issue logging into “check on a request” in the portal, the std HS blackbox is working fine. The code for BlackBoxPortal.php is shown below:
require_once(“adLDAP.php”);
function BlackBoxPortal($username, $password){
/* DO YOUR AUTHENTICATION HERE */
//create the AD LDAP connection
$adldap = new adLDAP();
if ($adldap->authenticate($username,$password)) {
//userinfo=$adldap->user_info($username, array("mail"));
//return $userinfo[0]["mail"][0];
return $username . "@example.com";
} else {
return false;
}
}
The url changes to pg=request.check&login_email= and we get the message Your login failed. Please try again.
I’ve tried just returning a valid email address and we get the same result.