Commit 6434b66b authored by Manfred Kutas's avatar Manfred Kutas

ZP-836 Log output without impersonated user.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 2670dcfa
......@@ -148,7 +148,7 @@ class BackendKopano implements IBackend, ISearchProvider {
// check if we are impersonating someone
// $defaultUser will be used for $this->defaultStore
if ($this->impersonateUser !== false) {
if ($this->impersonateUser) {
ZLog::Write(LOGLEVEL_DEBUG, sprintf("KopanoBackend->Logon(): Impersonation active - authenticating: '%s' - impersonating '%s'", $this->mainUser, $this->impersonateUser));
$defaultUser = $this->impersonateUser;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment