diff --git a/index.html b/index.html index 9537293..019615e 100644 --- a/index.html +++ b/index.html @@ -2422,7 +2422,19 @@ async function resolveIdentity() { IDENT.cbp = f.cbpUsername; IDENT.ctb = f.ctbUsername; if (f.source === 'sponsor') IDENT.uplineFallback = true; + } else if (f.code === 'no_entry' || /no clickbaitpays entry/i.test(f.reason || '')) { + // The value IS a valid CTB member but their whole chain (self + + // upline) has no ClickBaitPays entry: per the fallback rule the + // signup ref goes to the COMPANY account — never the raw CTB + // username (a non-existent ClickBaitPays ref would eat signups; + // Marty caught this live with ?ref=r0705243024). Hub still aligns + // to the member, and the nudge tells them how to claim their refs. + IDENT.ctb = IDENT.cbp; + IDENT.cbp = 'cryptoteambuild'; + IDENT.fallback = true; } + // Any other miss: the value is treated as a genuine ClickBaitPays + // username from a legacy link and kept verbatim. } } } catch (e) {