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() + CONFIG['account']['maxcookielifetime']) : 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 - <?= CONFIG['instance']['name'] ?>
Register
Login with Twitch

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