Zend Framework 2 - Global check for authentication with ZFCUser

后端 未结 5 1392
误落风尘
误落风尘 2020-12-05 08:20

I installed ZFCUser successfully. Now I wonder if there is a way to globally check for authentication.

As outlined in the wiki there ar

5条回答
  •  没有蜡笔的小新
    2020-12-05 08:58

    You can use ZF2 module BjyAuthorize to block/allow access to pages based on user roles such as guest, user etc using controller guard, route guard etc

提交回复
热议问题