Commit 6c6bfa4b authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #651 in ZP/z-push from...

Merge pull request #651 in ZP/z-push from bugfix/ZP-1356-log-output-without-impersonated-user to develop

* commit 'b87c4eb7':
  ZP-1356 Apply strtolower() only when impersonation user is set.
  ZP-1356 Revert "ZP-836 Log output without impersonated user."
  ZP-836 Log output without impersonated user.
parents 04a3c221 b87c4eb7
......@@ -144,7 +144,9 @@ class BackendKopano implements IBackend, ISearchProvider {
$this->mainUser = strtolower($user);
// TODO the impersonated user should be passed directly to IBackend->Logon() - ZP-1351
$this->impersonateUser = strtolower(Request::GetImpersonatedUser());
if (Request::GetImpersonatedUser()) {
$this->impersonateUser = strtolower(Request::GetImpersonatedUser());
}
// check if we are impersonating someone
// $defaultUser will be used for $this->defaultStore
......
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