It's a token, not a key

This commit is contained in:
James Brooks
2015-01-14 15:51:51 +00:00
parent acd1230fdd
commit deca875853

View File

@@ -27,7 +27,7 @@ class ApiTokenAuthenticator extends AuthorizationProvider
try {
return User::findByApiToken($apiToken);
} catch (ModelNotFoundException $e) {
throw new UnauthorizedHttpException(null, 'The API key you provided was not correct.');
throw new UnauthorizedHttpException(null, 'The API token you provided was not correct.');
}
}