mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 00:42:40 +01:00
Fix another "arc patch" authentication issue
Summary: Similar to rARC298ed9cda55d90b755e4dc45d202213e91631888, work around "differential.anonymous-access" issues until we get proper permissions up. Test Plan: Ran "arc patch" against a "differential.anonymous-acccess" install with a revision argument Reviewers: btrahan, mbautin Reviewed By: btrahan CC: aran, epriestley Maniphest Tasks: T848 Differential Revision: https://secure.phabricator.com/D1835
This commit is contained in:
parent
fba87a5b6a
commit
a7866827a2
1 changed files with 4 additions and 1 deletions
|
@ -615,7 +615,10 @@ EOTEXT
|
|||
$prompt_message = null;
|
||||
|
||||
// if we have a revision id the commit message is in differential
|
||||
if ($revision_id) {
|
||||
|
||||
// TODO: See T848 for the authenticated stuff.
|
||||
if ($revision_id && $this->isConduitAuthenticated()) {
|
||||
|
||||
$conduit = $this->getConduit();
|
||||
$commit_message = $conduit->callMethodSynchronous(
|
||||
'differential.getcommitmessage',
|
||||
|
|
Loading…
Reference in a new issue