Page MenuHomePhabricator

D8887.id21085.diff
No OneTemporary

D8887.id21085.diff

Index: src/applications/conduit/method/ConduitAPI_conduit_getcertificate_Method.php
===================================================================
--- src/applications/conduit/method/ConduitAPI_conduit_getcertificate_Method.php
+++ src/applications/conduit/method/ConduitAPI_conduit_getcertificate_Method.php
@@ -79,11 +79,13 @@
);
}
- private function logFailure() {
+ private function logFailure(
+ ConduitAPIRequest $request,
+ PhabricatorConduitCertificateToken $info = null) {
$log = PhabricatorUserLog::initializeNewLog(
- null,
- '-',
+ $request->getUser(),
+ $info ? $info->getUserPHID() : '-',
PhabricatorUserLog::ACTION_CONDUIT_CERTIFICATE_FAILURE)
->save();
}

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 20, 7:25 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7461329
Default Alt Text
D8887.id21085.diff (752 B)

Event Timeline