Quantcast
Channel: Zenphoto forum
Viewing all articles
Browse latest Browse all 445

spelth on "Authenticating new/existing accounts with LDAP"

$
0
0

Hi,
after several hours of troubleshooting i replaced the return-statement at the end of the function:
return $authorized;
with these line (returns the admin-userobj and sets the admin-rights)
$_zp_current_admin_obj = Zenphoto_Authority::getAnAdmin(array('user=' => 'admin','valid=' => 1));
$authorized = $_zp_current_admin_obj->getRights();
return $authorized;
But index.php is calling the password.php instead of calling setThemeColumn(), it basically isn't doing the checkAccess(..) function.
Maybe you can give me hint to get this done?


Viewing all articles
Browse latest Browse all 445

Trending Articles