silent on missing signature (a remote account is deleted

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/122/head
Maxence Lange 2018-12-04 09:13:49 -01:00
rodzic 25550d5d4e
commit 69ed8f984b
2 zmienionych plików z 5 dodań i 5 usunięć

8
composer.lock wygenerowano
Wyświetl plik

@ -12,12 +12,12 @@
"source": {
"type": "git",
"url": "https://github.com/daita/my-small-php-tools.git",
"reference": "523adb71b0e12fd678909aeef45ef2c0f612e02a"
"reference": "7a61e966ac2a01db6fd0096f77620a7db978af18"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/daita/my-small-php-tools/zipball/523adb71b0e12fd678909aeef45ef2c0f612e02a",
"reference": "523adb71b0e12fd678909aeef45ef2c0f612e02a",
"url": "https://api.github.com/repos/daita/my-small-php-tools/zipball/7a61e966ac2a01db6fd0096f77620a7db978af18",
"reference": "7a61e966ac2a01db6fd0096f77620a7db978af18",
"shasum": ""
},
"require": {
@ -40,7 +40,7 @@
}
],
"description": "My small PHP Tools",
"time": "2018-12-04T09:44:36+00:00"
"time": "2018-12-04T10:09:31+00:00"
}
],
"packages-dev": [],

Wyświetl plik

@ -183,7 +183,7 @@ class ActivityPubController extends Controller {
return $this->success([]);
} catch (SignatureIsGoneException $e) {
return $this->fail($e, [], Http::STATUS_GONE);
return $this->fail($e, [], Http::STATUS_GONE, false);
} catch (Exception $e) {
return $this->fail($e);
}