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:
parent
4ddaa01774
commit
b28f72ea9d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue