1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dotclear2_ynh.git synced 2024-09-03 18:26:29 +02:00

Merge pull request #22 from YunoHost-Apps/testing

Add check_blog to avoid warning
This commit is contained in:
Kayou 2020-04-18 16:07:23 +02:00 committed by GitHub
commit c379ef1887
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,10 +9,10 @@ class ldapDcAuth extends dcAuth
private $port = "389"; private $port = "389";
private $base = "dc=yunohost,dc=org"; 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 == '') { if ($pwd == '') {
return parent::checkUser($user_id, null, $user_key); return parent::checkUser($user_id, null, $user_key, $check_blog);
} }
# LDAP connection # LDAP connection