We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19f8ef0 commit e260c86Copy full SHA for e260c86
src/PassportServiceProvider.php
@@ -78,14 +78,13 @@ protected function registerMigrations()
78
*/
79
public function register()
80
{
81
- $this->mergeConfigFrom(__DIR__.'/../config/passport.php', 'passport');
+ if (! $this->app->configurationIsCached()) {
82
+ $this->mergeConfigFrom(__DIR__.'/../config/passport.php', 'passport');
83
+ }
84
85
$this->registerAuthorizationServer();
-
86
$this->registerResourceServer();
87
$this->registerGuard();
88
89
$this->offerPublishing();
90
}
91
0 commit comments