Skip to content

Commit

Permalink
Merge 75ec407 into f252727
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioribeiro committed Jul 19, 2021
2 parents f252727 + 75ec407 commit e36e775
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/TwillServiceProvider.php
Expand Up @@ -184,11 +184,14 @@ private function publishConfigs()
'provider' => 'twill_users',
]]);

config(['auth.passwords.twill_users' => [
'provider' => 'twill_users',
'table' => config('twill.password_resets_table', 'twill_password_resets'),
'expire' => 60,
]]);
if (blank(config('auth.passwords.twill_users'))) {
config(['auth.passwords.twill_users' => [
'provider' => 'twill_users',
'table' => config('twill.password_resets_table', 'twill_password_resets'),
'expire' => 60,
'throttle' => 60,
]]);
}
}

config(['activitylog.enabled' => config('twill.enabled.dashboard') ? true : config('twill.enabled.activitylog')]);
Expand Down

0 comments on commit e36e775

Please sign in to comment.