<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<!-- <script src="https://code.jquery.com/jquery-3.7.1.js" integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4=" crossorigin="anonymous"></script> 
<script>
    // Perform an AJAX request
    $.ajax({
        url: 'https://platform.legaldirect.ca/admin/Authentication/tokengenereate', // Replace with your actual API endpoint
        method: 'get', // Adjust the HTTP method as needed
        data: { /* your data */ },
        success: function(response) {
            // Assuming your response contains the URL for redirection
            var redirectUrl = 'https://platform.legaldirect.ca/admin/Authentication/tokengenereate';

            // Redirect to the specified URL after 1 minute (60000 milliseconds)
            // setTimeout(function() {
            //     window.location.href = redirectUrl;
            // }, 3000000); // 1 minute
        },
        error: function(error) {
            console.error('Error:', error);
        }
    });
</script> -->



