From 57472eab3c7b035392c6a5aa240593ecaa7d1ccf Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Mon, 8 Dec 2025 21:53:36 +0500 Subject: upd: moved all /public/ files to the root folder --- public/account/login/index.php | 99 ------------------------------------------ 1 file changed, 99 deletions(-) delete mode 100644 public/account/login/index.php (limited to 'public/account/login/index.php') diff --git a/public/account/login/index.php b/public/account/login/index.php deleted file mode 100644 index ace116d..0000000 --- a/public/account/login/index.php +++ /dev/null @@ -1,99 +0,0 @@ -prepare("SELECT secret_key, password FROM users WHERE username = ? AND password IS NOT NULL"); - $stmt->execute([$username]); - - if ($row = $stmt->fetch()) { - if (password_verify($password, $row["password"])) { - setcookie("secret_key", $row["secret_key"], $remember ? (time() + ACCOUNT_COOKIE_MAX_LIFETIME) : 0, "/"); - header("Location: /account"); - exit; - } else { - generate_alert("/account/login", "Passwords do not match!", 403); - exit; - } - } else { - generate_alert("/account/login", "User not found or is not accessable", 404); - exit; - } -} -?> - - - - - Login - <?php echo INSTANCE_NAME ?> - - - - - -
-
- -
- -
- -
-
-
- - -
-
- - -
-
- - -
-
- - - Register - -
-
-
-
- - -
- Login with Twitch -

Logging in via Twitch gives you the ability to use - emotes in your Twitch chat. -

-
- -
-
-
- - - \ No newline at end of file -- cgit v1.2.3