Skip to content

Commit cc3292c

Browse files
committed
Update OAuthFilter.php
Import the Laravel's Config class, otherwise it throws "Config not found"
1 parent 8ca3645 commit cc3292c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/LucaDegasperi/OAuth2Server/Filters/OAuthFilter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
use ResourceServer;
44
use Response;
5+
use \Config;
56

67
class OAuthFilter {
78

@@ -33,4 +34,4 @@ public function filter($route, $request, $scope = null)
3334
}
3435
}
3536

36-
}
37+
}

0 commit comments

Comments
 (0)