diff options
author | Zach Copley <zach@status.net> | 2010-10-12 16:19:53 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-10-12 16:19:53 -0700 |
commit | d8e06e66e9d4e3312f8d645a13680dc8046ca3a2 (patch) | |
tree | 5053db7da61746bf6b794a464393104ecf9aef7b /actions | |
parent | a77bc113269e88d264075d331570dccf662b9640 (diff) |
Print a proper error message
Diffstat (limited to 'actions')
-rw-r--r-- | actions/apioauthaccesstoken.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apioauthaccesstoken.php b/actions/apioauthaccesstoken.php index b8b188b1d..663a7a2bb 100644 --- a/actions/apioauthaccesstoken.php +++ b/actions/apioauthaccesstoken.php @@ -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); |