Improve workflow for missing arcanist certificates.

This commit is contained in:
epriestley
2011-04-10 13:08:47 -07:00
parent c0629f5ff1
commit a7ac8a04e0
3 changed files with 15 additions and 10 deletions

View File

@@ -163,11 +163,8 @@ class PhabricatorConduitAPIController
$session_key = idx($metadata, 'sessionKey');
if (!$session_key) {
return array(
'ERR-NO-CERTIFICATE',
'This server requires authentication but your client is not '.
'configured with an authentication certificate. Please refer to '.
'<http://www.phabricator.com/docs/phabricator/article/'.
'Installing_Arcanist_Certificates.html> for more info.',
'ERR-INVALID-SESSION',
'Session key is not present.'
);
}