Skip to content

Commit

Permalink
Merge pull request #1205 from crynobone/patch-2
Browse files Browse the repository at this point in the history
[8.x] mergeConfigFrom() already check if app is running with config cached.
  • Loading branch information
driesvints authored Mar 20, 2020
2 parents 4088cdf + d95d252 commit efae7be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/PassportServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ protected function registerMigrations()
*/
public function register()
{
if (! $this->app->configurationIsCached()) {
$this->mergeConfigFrom(__DIR__.'/../config/passport.php', 'passport');
}
$this->mergeConfigFrom(__DIR__.'/../config/passport.php', 'passport');

$this->registerAuthorizationServer();
$this->registerResourceServer();
Expand Down

0 comments on commit efae7be

Please sign in to comment.