MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / redeem

Function redeem

apps/host-selfhost/web/login.tsx:73–79  ·  view source on GitHub ↗
(event: FormEvent)

Source from the content-addressed store, hash-verified

71 };
72
73 const redeem = (event: FormEvent) => {
74 event.preventDefault();
75 const trimmed = code.trim();
76 if (!trimmed) return;
77 // Forward to the join page, which collects name/email/password and redeems.
78 window.location.href = `/join/${encodeURIComponent(trimmed)}`;
79 };
80
81 return (
82 <AuthLayout>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected