This commit is contained in:
Evelyn Sucitro 2025-11-24 12:58:49 +07:00
parent 021d61a1b0
commit 1f023e84d2

View File

@ -1,15 +0,0 @@
<?php
session_start();
header('Content-Type: application/json');
if (isset($_SESSION['username'])) {
echo json_encode([
"status" => "logged_in",
"username" => $_SESSION['username']
]);
} else {
echo json_encode([
"status" => "not_logged_in"
]);
}
?>