Using API Token rather than key. Token now in header. Closes #358.

This commit is contained in:
James Brooks
2015-01-12 13:34:31 +00:00
parent 342281ef0d
commit cc43dcc6aa
8 changed files with 37 additions and 39 deletions
+2 -2
View File
@@ -81,8 +81,8 @@ return [
return new Dingo\Api\Auth\BasicProvider($app['auth']);
},
'api_key' => function ($app) {
return new CachetHQ\Cachet\Http\Auth\ApiKeyAuthenticator();
'api_token' => function ($app) {
return new CachetHQ\Cachet\Http\Auth\ApiTokenAuthenticator();
},
],