You are here

public function CampaignMonitorListsController::verifyAccess in Campaign Monitor 8

Same name and namespace in other branches
  1. 8.2 src/Controller/CampaignMonitorListsController.php \Drupal\campaignmonitor\Controller\CampaignMonitorListsController::verifyAccess()

Verify that a token is set for CSRF protection.

2 calls to CampaignMonitorListsController::verifyAccess()
CampaignMonitorListsController::listDisable in src/Controller/CampaignMonitorListsController.php
CampaignMonitorListsController::listEnable in src/Controller/CampaignMonitorListsController.php

File

src/Controller/CampaignMonitorListsController.php, line 172

Class

CampaignMonitorListsController
Campaign Monitor Lists controller.

Namespace

Drupal\campaignmonitor\Controller

Code

public function verifyAccess() {

  // If (!isset($_GET['token']) || !drupal_valid_token($_GET['token'])) {
  //      drupal_not_found();
  //      module_invoke_all('exit');
  //      exit();
  //    }
}