mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-11 09:34:20 +01:00
Add captcha token comment
This commit is contained in:
@@ -27,7 +27,7 @@ export const captchaController: AppController = async (c) => {
|
||||
|
||||
return c.json({
|
||||
type: 'puzzle',
|
||||
token: crypto.randomUUID(),
|
||||
token: crypto.randomUUID(), // Useless, but Pleroma does it.
|
||||
puzzle: puzzle.toDataURL(),
|
||||
piece: piece.toDataURL(),
|
||||
answer_data: encodeBase64(encrypted),
|
||||
|
||||
Reference in New Issue
Block a user