blob: df159b0ba463da24fc0e17125bf0617bb439a2b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- homer-api-5.0.6/api/Authentication/LDAP.php
+++ homer-api-5.0.6.php7/api/Authentication/LDAP.php
@@ -118,7 +118,7 @@
// Assigne Admin Privs, should be read from the LDAP Directory in the future
- $ADMIN_USER = split(",", LDAP_ADMIN_USER);
+ $ADMIN_USER = explode(",", LDAP_ADMIN_USER);
foreach($ADMIN_USER as &$value) {
if ($value == $param['username']) {
|