| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| components | ||
| forgot-password | ||
| hooks | ||
| lib | ||
| otp | ||
| passkey | ||
| reset-password-confirm | ||
| secure-verification | ||
| sign-in | ||
| sign-up | ||
| api.ts | ||
| auth-layout.tsx | ||
| constants.ts | ||
| index.ts | ||
| types.ts |
The new UI's sign-up form sent the invite code under key `aff`, but the backend `Register` controller binds it to `User.AffCode` whose JSON tag is `aff_code` (see model/user.go). Result: every invited sign-up landed with `inviter_id = 0`, breaking the affiliate flow. Rename only the request payload field so it matches the backend contract. URL query parameter (`/sign-up?aff=...`), localStorage key and OAuth state continue to use `aff` and are unchanged. Closes #4945
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| components | Loading commit data... | |
| forgot-password | Loading commit data... | |
| hooks | Loading commit data... | |
| lib | Loading commit data... | |
| otp | Loading commit data... | |
| passkey | Loading commit data... | |
| reset-password-confirm | Loading commit data... | |
| secure-verification | Loading commit data... | |
| sign-in | Loading commit data... | |
| sign-up | Loading commit data... | |
| api.ts | Loading commit data... | |
| auth-layout.tsx | Loading commit data... | |
| constants.ts | Loading commit data... | |
| index.ts | Loading commit data... | |
| types.ts | Loading commit data... |