File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public function registerStorageBindings()
64
64
});
65
65
66
66
$ 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 ' );
68
68
$ storage = new FluentClient ($ provider ->app ['db ' ], $ limitClientsToGrants );
69
69
$ storage ->setConnectionName ($ provider ->getConnectionName ());
70
70
return $ storage ;
@@ -77,8 +77,8 @@ public function registerStorageBindings()
77
77
});
78
78
79
79
$ 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 ' );
82
82
$ storage = new FluentScope ($ provider ->app ['db ' ], $ limitClientsToScopes , $ limitScopesToGrants );
83
83
$ storage ->setConnectionName ($ provider ->getConnectionName ());
84
84
return $ storage ;
You can’t perform that action at this time.
0 commit comments