feat(signup): community guidelines agreement and policies routes
Introduces /community-guidelines and /policies/{privacy,terms,[slug]} pages,
swaps the signup/invite checkbox from agreedToTerms to agreedToGuidelines,
adds Member.agreement.acceptedAt, and stamps the field when a Helcim
customer is created.
This commit is contained in:
parent
e0d11e47f4
commit
c5e901ed24
13 changed files with 1292 additions and 54 deletions
|
|
@ -46,6 +46,7 @@ export default defineEventHandler(async (event) => {
|
|||
contributionTier: body.contributionTier,
|
||||
bio: body.motivation || undefined,
|
||||
status: body.contributionTier === '0' ? 'active' : 'pending_payment',
|
||||
agreement: { acceptedAt: new Date() },
|
||||
})
|
||||
|
||||
await assignMemberNumber(member._id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue