Mark73 I have a couple of questions regarding the extension. 1- Do users get notified by any chance when impersonating them? Can they check logs of who got into their accounts somehow? 2- Am I able to be on someone's account at the same time he is on his account? So both of us using the account at the same time
IanM Mark73 1- Do users get notified by any chance when impersonating them? Can they check logs of who got into their accounts somehow? No, there is no indication to the user. A record is logged that the action was performed if fof/moderator-notes is also installed however. Mark73 2- Am I able to to be on someone's account at the same time he is on his account? So both of us using the account at the same time Yes, this is possible
Mark73 IanM Would moderators be able to check if I (admin) logged into someone's account through moderator notes? Or is this optional?
Mark73 IanM I get it, I'm just asking if this is mandatory when having the moderator notes extension? I don't want mods to be able to check my impersonation logs through the moderator notes. I hope this explained it well
IanM Mark73 Understood. I guess adding an option to allow admin users to silently impersonate is a possibility.
Mark73 I'm getting this error when trying to install the extension locally: Content-Length mismatch, received 31475 bytes out of the expected 1478527 http://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
clarkwinkelmann Mark73 I doubt it's specific to this extension. Maybe your proxy or firewall is messing up with Composer. Or Packagist experiences difficulties of their own.
Mark73 clarkwinkelmann Makes sense, I tried to install some other extensions and it did not work! I will try to figure it out
ctml The impersonate function doesn't seem to be working for me, not sure if it's isolated to my setup. I do have a SSO extension, but I even disabled it for testing with no luck. After initiating the login of a user the page refreshes but I'm still logged in as myself. Can anyone else who has this on Beta 15 let me know if it is working for them?
clarkwinkelmann ctml I have just used Impersonate on beta 15 without any issue. Can you maybe try disabling some extensions to see whether any is causing the problem?
Lemming8 When logging out of an user, you are currently impersonating, it would be great to return to your own user. Idk, if this is even possible, just a suggestion 🙂
[deleted] It can be dangerous, I think. I already installed this extension in beta 16 but never enabled while updating today I seen this, Is discuss.flarum.org using it here?😨
clarkwinkelmann [deleted] it's up to you to decide if you need the extension. The owner of a forum always has full control of and access to the data whether they use this extension or not. If you're worried of abuse by your moderation team, maybe you shouldn't give them access to the feature.
katos [deleted] Can you open another discussion for this please? This is off-topic for the purpose of this extension discussion 🙂
HasanMerkit POST https://www.teteos.net/api/impersonate Flarum\Http\Exception\TokenMismatchException: CSRF token did not match in /home/mrfreeman/public_html/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php:47 Stack trace: #0 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CheckCsrfToken->process() #1 /home/mrfreeman/public_html/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle() #2 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process() #3 /home/mrfreeman/public_html/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle() #4 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process() #5 /home/mrfreeman/public_html/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle() #6 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithHeader->process() #7 /home/mrfreeman/public_html/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle() #8 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithSession->process() #9 /home/mrfreeman/public_html/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle() #10 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\RememberFromCookie->process() #11 /home/mrfreeman/public_html/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle() #12 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\StartSession->process() #13 /home/mrfreeman/public_html/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle() #14 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\FakeHttpMethods->process() #15 /home/mrfreeman/public_html/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle() #16 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ParseJsonBody->process() #17 /home/mrfreeman/public_html/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle() #18 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process() #19 /home/mrfreeman/public_html/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle() #20 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\InjectActorReference->process() #21 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle() #22 /home/mrfreeman/public_html/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process() #23 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\RequestHandler->process() #24 /home/mrfreeman/public_html/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle() #25 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePathRouter->process() #26 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle() #27 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Laminas\Stratigility\Middleware\OriginalMessages->process() #28 /home/mrfreeman/public_html/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle() #29 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePath->process() #30 /home/mrfreeman/public_html/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle() #31 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ProcessIp->process() #32 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle() #33 /home/mrfreeman/public_html/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process() #34 /home/mrfreeman/public_html/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle() #35 /home/mrfreeman/public_html/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run() #36 /home/mrfreeman/public_html/index.php(27): Flarum\Http\Server->listen() #37 {main}
datitisev HasanMerkit This error usually means that your session has expired. Not login session necessarily, but a page refresh should fix this issue.