Using API Token rather than key. Token now in header. Closes #358.
This commit is contained in:
@@ -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();
|
||||
},
|
||||
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user