尝试使用Sonata用户包实现用户管理: https://sonata-project.org/bundles/user/master/doc/reference/installation.html 我在Symfony 4下,我已经安装了SonataAdminBundle 但是当我尝试更新我的作曲家时,我遇到了一个错误。 !! In ArrayNode.php line 224:!! The child node "db_driver" at path "fos_user" must be configured. 我感觉这与Fos用户包有关,但
我正在使用FOSUser包登录。现在,如果用户已经是loggedin,那么如果用户访问/login url,如何将用户重定向到主页('/')。我已经将SecurityController复制到src\AppBundle\Controller位置,并更改了renderlogin方法,但它不起作用。IS_AUTHENTICATED_ANONYMOUSLY')) { }
ret