Commit e4a2cf05 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1355 Make sure the impersonated username is always lowercase.

Released under the Affero GNU General
Public License (AGPL) version 3.
parent ae563bdf
...@@ -144,7 +144,7 @@ class BackendKopano implements IBackend, ISearchProvider { ...@@ -144,7 +144,7 @@ class BackendKopano implements IBackend, ISearchProvider {
$this->mainUser = strtolower($user); $this->mainUser = strtolower($user);
// TODO the impersonated user should be passed directly to IBackend->Logon() - ZP-1351 // TODO the impersonated user should be passed directly to IBackend->Logon() - ZP-1351
$this->impersonateUser = Request::GetImpersonatedUser(); $this->impersonateUser = strtolower(Request::GetImpersonatedUser());
// check if we are impersonating someone // check if we are impersonating someone
// $defaultUser will be used for $this->defaultStore // $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