mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 04:49:44 +01:00
added a debug message
This commit is contained in:
parent
27bc31456e
commit
6e6e75182b
@ -98,14 +98,18 @@ class auth_fallback implements auth_backend
|
|||||||
}
|
}
|
||||||
if (egw_cache::getInstance(__CLASS__,'backend_used-'.$username) == 'primary')
|
if (egw_cache::getInstance(__CLASS__,'backend_used-'.$username) == 'primary')
|
||||||
{
|
{
|
||||||
if ($ret = $this->primary_backend->change_password($old_passwd, $new_passwd, $account_id))
|
if (($ret = $this->primary_backend->change_password($old_passwd, $new_passwd, $account_id)))
|
||||||
{
|
{
|
||||||
// if password successfully changed on primary, also update fallback
|
// if password successfully changed on primary, also update fallback
|
||||||
$this->fallback_backend->change_password($old_passwd, $new_passwd, $account_id);
|
$this->fallback_backend->change_password($old_passwd, $new_passwd, $account_id);
|
||||||
}
|
}
|
||||||
return $ret;
|
|
||||||
}
|
}
|
||||||
return $this->fallback_backend->change_password($old_passwd, $new_passwd, $account_id);
|
else
|
||||||
|
{
|
||||||
|
$ret = $this->fallback_backend->change_password($old_passwd, $new_passwd, $account_id);
|
||||||
|
}
|
||||||
|
//error_log(__METHOD__."('$old_passwd', '$new_passwd', $account_id) username='$username', backend=".egw_cache::getInstance(__CLASS__,'backend_used-'.$username)." returning ".array2string($ret));
|
||||||
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user