aboutsummaryrefslogtreecommitdiffstats
path: root/community/homer-api/php7.patch
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-09-02 13:36:37 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-09-02 13:36:37 +0300
commitfae4bd5b580e5e349f535198247591cc0b8dec82 (patch)
tree364fae9f219e56370c615f8f847eb45ce96e8f8c /community/homer-api/php7.patch
parentd2d22e10819ae04fffe6787fc1b952f1db690478 (diff)
downloadaports-fae4bd5b580e5e349f535198247591cc0b8dec82.tar.bz2
aports-fae4bd5b580e5e349f535198247591cc0b8dec82.tar.xz
community/homer-api: fix LDAP auth with php7
Diffstat (limited to 'community/homer-api/php7.patch')
-rw-r--r--community/homer-api/php7.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/homer-api/php7.patch b/community/homer-api/php7.patch
new file mode 100644
index 0000000000..df159b0ba4
--- /dev/null
+++ b/community/homer-api/php7.patch
@@ -0,0 +1,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']) {