diff options
| author | ilotterytea <iltsu@alright.party> | 2025-08-16 18:32:00 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-08-16 18:32:00 +0500 |
| commit | 25b5223e4b60afa56342db96091797954655df7c (patch) | |
| tree | a294a4da0e1dda4282f86685c8993715a1c4d4fc /login.php | |
| parent | b65f988200231ee264337d229f4445038e027d1e (diff) | |
feat: display user status in the header
Diffstat (limited to 'login.php')
| -rw-r--r-- | login.php | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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)); |
