Skip to content

Commit efae7be

Browse files
authored
Merge pull request #1205 from crynobone/patch-2
[8.x] mergeConfigFrom() already check if app is running with config cached.
2 parents 4088cdf + d95d252 commit efae7be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/PassportServiceProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ protected function registerMigrations()
8787
*/
8888
public function register()
8989
{
90-
if (! $this->app->configurationIsCached()) {
91-
$this->mergeConfigFrom(__DIR__.'/../config/passport.php', 'passport');
92-
}
90+
$this->mergeConfigFrom(__DIR__.'/../config/passport.php', 'passport');
9391

9492
$this->registerAuthorizationServer();
9593
$this->registerResourceServer();

0 commit comments

Comments
 (0)