mirror of
https://github.com/humhub/humhub.git
synced 2025-02-12 03:26:25 +01:00
Added ControllerAccess to ServiceWorkerController
This commit is contained in:
parent
7a03ef0343
commit
9f74445003
@ -8,6 +8,7 @@
|
||||
|
||||
namespace humhub\modules\web\pwa\controllers;
|
||||
|
||||
use humhub\components\access\ControllerAccess;
|
||||
use humhub\components\Controller;
|
||||
use humhub\modules\ui\Module;
|
||||
use Yii;
|
||||
@ -24,6 +25,13 @@ use yii\helpers\Url;
|
||||
class ServiceWorkerController extends Controller
|
||||
{
|
||||
|
||||
/**
|
||||
|
||||
* Allow guest access independently from guest mode setting.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $access = ControllerAccess::class;
|
||||
public $baseJs;
|
||||
public $additionalJs;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user