forked from Yara724/api
FIX Catcha
This commit is contained in:
@@ -12,9 +12,18 @@ export class LoginActorDto {
|
||||
@ApiProperty({})
|
||||
password: string;
|
||||
|
||||
@ApiProperty({
|
||||
example: "f47ac10b-58cc-4372-a567-0e02b2c3d479",
|
||||
description: "Captcha id from GET /actor/captcha.",
|
||||
})
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
@MaxLength(64)
|
||||
captchaId: string;
|
||||
|
||||
@ApiProperty({
|
||||
example: "a7bx2",
|
||||
description: "Captcha text from GET /actor/captcha (same username + role).",
|
||||
description: "Characters shown in the captcha image.",
|
||||
})
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
|
||||
Reference in New Issue
Block a user