mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-06 22:51:03 +02:00
Update Impersonate.php
This commit is contained in:
parent
3fee5bc334
commit
066656a073
@ -15,7 +15,7 @@ class Impersonate
|
|||||||
->where('auth_as', '!=', '');
|
->where('auth_as', '!=', '');
|
||||||
})->first();
|
})->first();
|
||||||
|
|
||||||
if ($adminUser && is_numeric($adminUser)) {
|
if ($adminUser && is_numeric($adminUser->auth_as)) {
|
||||||
|
|
||||||
$originalUser = $adminUser->id;
|
$originalUser = $adminUser->id;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user