From e6e5f1c2b861fceeb1ad08a038dfb6a15d335b73 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 12 May 2020 19:58:12 +0200 Subject: [PATCH] LSauth :: getAuthObjectTypes(): fix handling simple LSobject type --- src/includes/class/class.LSauth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/class/class.LSauth.php b/src/includes/class/class.LSauth.php index b89594d1..3f77e3b0 100644 --- a/src/includes/class/class.LSauth.php +++ b/src/includes/class/class.LSauth.php @@ -109,7 +109,7 @@ class LSauth extends LSlog_staticLoggerClass { foreach(self :: getConfig('LSobjects', array()) as $objType => $objParams) { if (is_int($objType) && is_string($objParams)) { // We just have the object type - $objTypes[$objType] = array('filter' => null, 'password_attribute' => 'userPassword'); + $objTypes[$objParams] = array('filter' => null, 'password_attribute' => 'userPassword'); continue; } $objTypes[$objType] = array(