From 2842aa962d8fe2c00eb90b13d5125616feccaf98 Mon Sep 17 00:00:00 2001 From: Egor Date: Wed, 28 Jan 2026 20:25:51 +0300 Subject: [PATCH] Update Login.tsx --- src/pages/Login.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Login.tsx b/src/pages/Login.tsx index 172ca0f..5e86484 100644 --- a/src/pages/Login.tsx +++ b/src/pages/Login.tsx @@ -89,7 +89,7 @@ export default function Login() { // If email auth is disabled but user came with ref param, redirect to bot useEffect(() => { if (referralCode && emailAuthConfig?.enabled === false && botUsername) { - window.location.href = `https://t.me/${botUsername}?start=ref_${referralCode}`; + window.location.href = `https://t.me/${botUsername}?start=${referralCode}`; } }, [referralCode, emailAuthConfig, botUsername]);