Forgot half of it.
This commit is contained in:
parent
d103477fe1
commit
163e54def1
55 changed files with 183 additions and 187 deletions
public
|
@ -81,7 +81,7 @@ if($tokenInfo->hasUserId && $tokenInfo->hasSessionToken) {
|
|||
$impersonatedUserId = $tokenInfo->impersonatedUserId;
|
||||
|
||||
if(!$allowToImpersonate) {
|
||||
$allowImpersonateUsers = $cfg->getArray(sprintf('impersonate.allow.u%s', $userInfo->getId()));
|
||||
$allowImpersonateUsers = $cfg->getArray(sprintf('impersonate.allow.u%s', $userInfo->id));
|
||||
$allowToImpersonate = in_array((string)$impersonatedUserId, $allowImpersonateUsers, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue