You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6de82ac
Browse filesBrowse the repository at this point in the historyBrowse files
fix(invites): make invite links credit the inviter
/join set its cookie while rendering a page, which Next.js rejects, so no
invite was ever recorded. It is now a route handler that accepts ?invite=
and ?ref=, keeps the college hint, return path and UTM tags, and sets the
cookie on the redirect.
Onboarding now credits the inviter once, through awardPoints with the
REFERRAL_SIGNUP reward the UI already promises (50, was a hard-coded 20),
only for a verified student, never for a self-invite or a repeat
onboarding. Students who join in Campus Preview credit their inviter when
they verify in the campus upgrade flow.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
0 commit comments