1 Reply Latest reply on Aug 2, 2018 9:59 PM by patrick.byrne.0

    Trust Authentication Ticket

    Stan Lee

      Dear Sir,

      Would like to know how can we resolve the issue for version 10.4 for the Trusted Authentication Ticket, as per our checking, we are unable to get the ticket:

       

       

      My Code:

       

      <?php

      defined('BASEPATH') OR exit('No direct script access allowed');

       

       

      class Dashboard extends MY_Controller {

       

       

      var $template = array();

       

      public function __construct()

      {

      parent::__construct();

       

      $this->is_logged_in();

      if(empty($this->auth_user_id)){

      redirect('login');

      }

      if($this->auth_level < ACL_SALESPERSON) {

      redirect('access/admin_access_deny');

      }

       

      $this->load->model('setting_dashboard_category_model');

      }

       

       

      public function apims_dashboard($id = null){

      if(!in_array(APIMS, $this->session->userdata('USER_PERMISSION'))){

      redirect('access/admin_access_deny');

      }

       

      if(sizeof($data['detail'] = $this->setting_dashboard_category_model->get_detail_by_category_and_id(APIMS, $id)) == 0){

      show_404();

      }

       

      $data['detail']->url = empty($data['detail']->url)? '' : ((empty($data['detail']->user) || empty($data['detail']->server))? $data['detail']->url : $this->get_full_url($data['detail']));

      $this->template['title'] = 'Dashboard - APIMS';

      $this->template['content'] = $this->load->view('dashboard', $data, true);

      $this->load->view('template', $this->template);

      }

       

      public function ekas_dashboard($id = null){

      if(!in_array(EKAS, $this->session->userdata('USER_PERMISSION'))){

      redirect('access/admin_access_deny');

      }

       

      if(sizeof($data['detail'] = $this->setting_dashboard_category_model->get_detail_by_category_and_id(EKAS, $id)) == 0){

      show_404();

      }

       

      $data['detail']->url = empty($data['detail']->url)? '' : ((empty($data['detail']->user) || empty($data['detail']->server))? $data['detail']->url : $this->get_full_url($data['detail']));

      $this->template['title'] = 'Dashboard - eKAS';

      $this->template['content'] = $this->load->view('dashboard', $data, true);

      $this->load->view('template', $this->template);

      }

       

      public function cems_dashboard($id = null){

      if(!in_array(CEMS, $this->session->userdata('USER_PERMISSION'))){

      redirect('access/admin_access_deny');

      }

       

      if(sizeof($data['detail'] = $this->setting_dashboard_category_model->get_detail_by_category_and_id(CEMS, $id)) == 0){

      show_404();

      }

       

      $data['detail']->url = empty($data['detail']->url)? '' : ((emp