Skip to content
Snippets Groups Projects
Commit 263fddcc authored by Bitha17's avatar Bitha17
Browse files

edit auth

parent 35f7cd12
No related merge requests found
...@@ -5,11 +5,11 @@ ob_start(); ...@@ -5,11 +5,11 @@ ob_start();
require_once(__DIR__ . '/../Models/Ticket.php'); require_once(__DIR__ . '/../Models/Ticket.php');
if (!isset($_SESSION["user_id"])) { if (!isset($_SESSION["user_id"])) {
session_start(); session_start();
// if (!isset($_SESSION["user_id"])) { if (!isset($_SESSION["user_id"])) {
// // User is not authenticated; redirect to login page // User is not authenticated; redirect to login page
// header("Location: /app/Views/login/login.php"); header("Location: /app/Views/login/login.php");
// ob_end_flush(); ob_end_flush();
// } }
} }
class TicketController { class TicketController {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment