Code pill: six fixed cells on their own row, tap to copy, wrapping header; claim error names the length when it is not 6; board hint
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -73,6 +73,7 @@ function check(t, memberId, typed) {
|
||||
if (rec.memberId !== Number(memberId)) return { error: 'That mission belongs to a different account.' };
|
||||
const want = codeFor(rec);
|
||||
const got = String(typed || '').trim().toUpperCase();
|
||||
if (got.length !== 6) return { error: 'Codes are 6 characters and you typed ' + got.length + '. Look at the site again: the code sits in six boxes, and a tap on it copies all six.' };
|
||||
if (got !== want) return { error: 'That is not the code. It is on the site, and it is yours alone.' };
|
||||
return { ok: true, rec };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user