From deca875853509abd38575f2e7062670b6036843d Mon Sep 17 00:00:00 2001 From: James Brooks Date: Wed, 14 Jan 2015 15:51:51 +0000 Subject: [PATCH] It's a token, not a key --- src/Http/Auth/ApiTokenAuthenticator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Auth/ApiTokenAuthenticator.php b/src/Http/Auth/ApiTokenAuthenticator.php index eed3d456..c4e10139 100644 --- a/src/Http/Auth/ApiTokenAuthenticator.php +++ b/src/Http/Auth/ApiTokenAuthenticator.php @@ -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.'); } }