Cakedc.users => always redirect to homepage

前端 未结 1 491
無奈伤痛
無奈伤痛 2021-01-21 16:50

I\'m using the plugins \"CakeDC/Users\" on a brain new Cakephp installation. I\'ve got two controllers : PagesController.php, CardsController.php. Pages has 1 action (Beta, it\'

相关标签:
1条回答
  • 2021-01-21 17:23

    Nevermind, I've replaced :

    'authorize' => [
           //'CakeDC/Users.Superuser',
           //'CakeDC/Users.SimpleRbac',
    ],
    

    By :

    'authorize' => false,
    

    The plugin used authorize with a component by default, so if you're not going to use it, you have the set "false" to be sure you don't have issues. Or you have to setup the authorized controllers and actions by setting up the good setup.

    Thanks,

    0 讨论(0)
提交回复
热议问题