Skip to content

Commit a78b4e6

Browse files
committed
Fixes #310
1 parent 6a192de commit a78b4e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Storage/FluentStorageServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function registerStorageBindings()
6464
});
6565

6666
$this->app->bindShared('LucaDegasperi\OAuth2Server\Storage\FluentClient', function ($app) use ($provider) {
67-
$limitClientsToGrants = $app['config']->get('oauth2-server-laravel::oauth2.limit_clients_to_grants');
67+
$limitClientsToGrants = $app['config']->get('oauth2.limit_clients_to_grants');
6868
$storage = new FluentClient($provider->app['db'], $limitClientsToGrants);
6969
$storage->setConnectionName($provider->getConnectionName());
7070
return $storage;
@@ -77,8 +77,8 @@ public function registerStorageBindings()
7777
});
7878

7979
$this->app->bindShared('LucaDegasperi\OAuth2Server\Storage\FluentScope', function ($app) use ($provider) {
80-
$limitClientsToScopes = $app['config']->get('oauth2-server-laravel::oauth2.limit_clients_to_scopes');
81-
$limitScopesToGrants = $app['config']->get('oauth2-server-laravel::oauth2.limit_scopes_to_grants');
80+
$limitClientsToScopes = $app['config']->get('oauth2.limit_clients_to_scopes');
81+
$limitScopesToGrants = $app['config']->get('oauth2.limit_scopes_to_grants');
8282
$storage = new FluentScope($provider->app['db'], $limitClientsToScopes, $limitScopesToGrants);
8383
$storage->setConnectionName($provider->getConnectionName());
8484
return $storage;

0 commit comments

Comments
 (0)