fix: clarify the confirmation page and collect first and last names
The confirmation told volunteers an email was queued and to open "this signup." It now says the email is on the way and the link cancels or switches shifts. The public form asks for a first and last name so the stored name stays one person.
This commit is contained in:
1 parent
03da30dbbc
commit
322c575fcb
11 files changed
+126
-26
No files matched your search
@@ -341,7 +341,8 @@ async function postSignup(
|
||||
issuedAt: NOW_MS - 10_000,
|
||||
operationId: randomBytes(16).toString('hex'),
|
||||
}),
|
||||
name: fields.name,
|
||||
first_name: fields.name.slice(0, fields.name.indexOf(' ')),
|
||||
last_name: fields.name.slice(fields.name.indexOf(' ') + 1),
|
||||
email: fields.email,
|
||||
phone: '',
|
||||
notes: '',
|
||||
|
||||
Reference in new issue
Block a user