From b28f72ea9df2a9d38fc426b0426f07d8b2d6f09a Mon Sep 17 00:00:00 2001 From: Kay0u Date: Sat, 18 Apr 2020 16:03:12 +0200 Subject: [PATCH] Add check_blog to avoid warning --- conf/class.auth.ldap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/class.auth.ldap.php b/conf/class.auth.ldap.php index 2ebc53f..9b94d1c 100644 --- a/conf/class.auth.ldap.php +++ b/conf/class.auth.ldap.php @@ -9,10 +9,10 @@ class ldapDcAuth extends dcAuth private $port = "389"; private $base = "dc=yunohost,dc=org"; - public function checkUser($user_id, $pwd=null, $user_key=null) + public function checkUser($user_id, $pwd=null, $user_key=null, $check_blog=true) { if ($pwd == '') { - return parent::checkUser($user_id, null, $user_key); + return parent::checkUser($user_id, null, $user_key, $check_blog); } # LDAP connection