Skip to content

Commit 96e86c0

Browse files
authored
Update LaravelDebugbar.php
1 parent c6923d1 commit 96e86c0

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/LaravelDebugbar.php

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -449,23 +449,23 @@ function ($query, $bindings = null, $time = null, $connectionName = null) use ($
449449
$this->addCollector(new FilesCollector($app));
450450
}
451451

452-
if ($this->shouldCollect('auth', false)) {
453-
try {
454-
$guards = $this->app['config']->get('auth.guards', []);
455-
$authCollector = new MultiAuthCollector($app['auth'], $guards);
456-
457-
$authCollector->setShowName(
458-
$this->app['config']->get('debugbar.options.auth.show_name')
459-
);
460-
$this->addCollector($authCollector);
461-
} catch (\Exception $e) {
462-
$this->addThrowable(
463-
new Exception(
464-
'Cannot add AuthCollector to Laravel Debugbar: ' . $e->getMessage(), $e->getCode(), $e
465-
)
466-
);
467-
}
468-
}
452+
// if ($this->shouldCollect('auth', false)) {
453+
// try {
454+
// $guards = $this->app['config']->get('auth.guards', []);
455+
// $authCollector = new MultiAuthCollector($app['auth'], $guards);
456+
457+
// $authCollector->setShowName(
458+
// $this->app['config']->get('debugbar.options.auth.show_name')
459+
// );
460+
// $this->addCollector($authCollector);
461+
// } catch (\Exception $e) {
462+
// $this->addThrowable(
463+
// new Exception(
464+
// 'Cannot add AuthCollector to Laravel Debugbar: ' . $e->getMessage(), $e->getCode(), $e
465+
// )
466+
// );
467+
// }
468+
// }
469469

470470
if ($this->shouldCollect('gate', false)) {
471471
try {

0 commit comments

Comments
 (0)