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

Add check_blog to avoid warning

This commit is contained in:
Kay0u 2020-04-18 16:03:12 +02:00
parent 4ddaa01774
commit b28f72ea9d
No known key found for this signature in database
GPG key ID: AE1DCADB6415A156

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