Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jan 7, 2025
1 parent 01bffaf commit 4402a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Workbench/Workbench.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static function start(ApplicationContract $app, ConfigContract $config, a
*/
public static function startWithProviders(ApplicationContract $app, ConfigContract $config): void
{
$hasAuthentication = $config?->getWorkbenchAttributes()['auth'] ?? false;
$hasAuthentication = $config->getWorkbenchAttributes()['auth'] ?? false;

static::start($app, $config, array_filter([
$hasAuthentication === true && class_exists('Orchestra\Workbench\AuthServiceProvider') ? 'Orchestra\Workbench\AuthServiceProvider' : null,
Expand Down

0 comments on commit 4402a06

Please sign in to comment.