Symfony Debug Toolbar中的Enabled users部分

时间:2016-07-29 12:45:30

标签: php symfony debugging silex

我需要symfony工具栏的用户部分:

enter image description here

http://symfony.com/doc/master/security.html

因为我没有在我的...

enter image description here

我应该改变什么?

1 个答案:

答案 0 :(得分:0)

检查安全服务提供商是否已注册。如果没有,请注册。

$app->register(new Silex\Provider\SecurityServiceProvider(), [...]);

安全部分也需要symfony bundle symfony/security-bundle

composer require symfony/security-bundle