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 da0e708 commit f6b1cbdCopy full SHA for f6b1cbd
src/BackpackServiceProvider.php
@@ -275,10 +275,11 @@ public function loadConfigs()
275
276
// add the backpack_users password broker to the configuration
277
$laravelAuthPasswordBrokers = app()->config['auth.passwords'];
278
+ $laravelFirstPasswordBroker = current($laravelAuthPasswordBrokers) ? current($laravelAuthPasswordBrokers)['table'] : '';
279
280
$backpackPasswordBrokerTable = config('backpack.base.password_resets_table') ??
281
config('auth.passwords.users.table') ??
- current($laravelAuthPasswordBrokers)['table'];
282
+ $laravelFirstPasswordBroker;
283
284
app()->config['auth.passwords'] = $laravelAuthPasswordBrokers +
285
[
0 commit comments