prepare("SELECT secret_key, password FROM users WHERE username = ? AND password IS NOT NULL"); $stmt->execute([$username]); $row = $stmt->fetch(PDO::FETCH_ASSOC) ?: null; if (!$row || !password_verify($password, $row["password"])) { generate_alert("/account/login", "User not found or is not accessable", 404); exit; } if (CLIENT_REQUIRES_JSON) { json_response([ "status_code" => 200, "message" => null, "data" => [ 'secret_key' => $row["secret_key"] ] ]); } else { setcookie("secret_key", $row["secret_key"], $remember ? (time() + CONFIG['account']['maxcookielifetime']) : 0, "/"); header("Location: /account"); } exit(); } ?> Login - <?= CONFIG['instance']['name'] ?>
Register
Login with Twitch

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