Commit 88d7b503 authored by hannes's avatar hannes

makes allmutes api work with basicauth, thanks @lambadalambda

parent bc5f327a
......@@ -74,7 +74,7 @@ class ApiQvitterMutesAction extends ApiPrivateAuthAction
{
parent::handle();
$this->target = Profile::current();
$this->target = $this->scoped;
if(!$this->target instanceof Profile) {
$this->clientError(_('You have to be logged in to view your mutes.'), 403);
......
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