From b37a0df143013b2955200d6cb2afa467d0fa40b3 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Mon, 18 Feb 2019 23:44:05 +0100 Subject: [PATCH] updated for nette/di 3 --- src/Bridges/SecurityDI/SecurityExtension.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Bridges/SecurityDI/SecurityExtension.php b/src/Bridges/SecurityDI/SecurityExtension.php index 282d5af8..0612dab2 100644 --- a/src/Bridges/SecurityDI/SecurityExtension.php +++ b/src/Bridges/SecurityDI/SecurityExtension.php @@ -48,8 +48,7 @@ public function loadConfiguration() ->setFactory(Nette\Http\UserStorage::class); $user = $builder->addDefinition($this->prefix('user')) - ->setFactory(Nette\Security\User::class) - ->setExported(); + ->setFactory(Nette\Security\User::class); if ($this->debugMode && $config['debugger']) { $user->addSetup('@Tracy\Bar::addPanel', [