summaryrefslogtreecommitdiff
path: root/login.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-08-16 18:32:00 +0500
committerilotterytea <iltsu@alright.party>2025-08-16 18:32:00 +0500
commit25b5223e4b60afa56342db96091797954655df7c (patch)
treea294a4da0e1dda4282f86685c8993715a1c4d4fc /login.php
parentb65f988200231ee264337d229f4445038e027d1e (diff)
feat: display user status in the header
Diffstat (limited to 'login.php')
-rw-r--r--login.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/login.php b/login.php
index 3652a8d..095fe6e 100644
--- a/login.php
+++ b/login.php
@@ -25,7 +25,6 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
exit(json_response(401, 'Incorrect username or password.', null));
}
- session_start();
$_SESSION['user'] = $user;
exit(json_response(200, null, $user));