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 f6b1cbd commit f4646f9Copy full SHA for f4646f9
src/BackpackServiceProvider.php
@@ -275,7 +275,9 @@ 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'] : '';
+ $laravelFirstPasswordBroker = is_array($laravelAuthPasswordBrokers) && current($laravelAuthPasswordBrokers) ?
279
+ current($laravelAuthPasswordBrokers)['table'] :
280
+ '';
281
282
$backpackPasswordBrokerTable = config('backpack.base.password_resets_table') ??
283
config('auth.passwords.users.table') ??
0 commit comments