mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Add captcha token comment
This commit is contained in:
parent
0bf41bc913
commit
707674db7c
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ export const captchaController: AppController = async (c) => {
|
||||||
|
|
||||||
return c.json({
|
return c.json({
|
||||||
type: 'puzzle',
|
type: 'puzzle',
|
||||||
token: crypto.randomUUID(),
|
token: crypto.randomUUID(), // Useless, but Pleroma does it.
|
||||||
puzzle: puzzle.toDataURL(),
|
puzzle: puzzle.toDataURL(),
|
||||||
piece: piece.toDataURL(),
|
piece: piece.toDataURL(),
|
||||||
answer_data: encodeBase64(encrypted),
|
answer_data: encodeBase64(encrypted),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue