Print a proper error message

This commit is contained in:
Zach Copley 2010-10-12 16:19:53 -07:00
parent a77bc11326
commit d8e06e66e9

View File

@ -105,7 +105,7 @@ class ApiOauthAccessTokenAction extends ApiOauthAction
common_log(LOG_WARNING, $msg);
print "Invalid request token or verifier.";
$this->clientError(_("Invalid request token or verifier.", 400, 'text'));
} else {
$this->showAccessToken($atok);