Skip to content
This repository has been archived by the owner on Aug 6, 2022. It is now read-only.

II.1.b. captcha

Andrey Bogdanov edited this page Apr 6, 2016 · 7 revisions

Contents

Options

codecha.privateKey

Codecha service private key.

Default: "" (empty string).

codecha.publicKey

Codecha service public key.

Default: "" (empty string).

google-recaptcha.privateKey

Google reCAPTCHA service private key.

Default: "" (empty string).

google-recaptcha.publicKey

Google reCAPTCHA service public key.

Default: "" (empty string).

google-recaptcha-v1.privateKey

Google reCAPTCHA service private key (old v1 version).

Default: "" (empty string).

google-recaptcha-v1.publicKey

Google reCAPTCHA service public key (old v1 version).

Default: "" (empty string).

node-captcha.background

Image background color. A CSS RGB color string.

Default: "rgb(255,255,255)".

node-captcha.color

Image text color. A CSS RGB color string.

Default: "rgb(0,0,0)".

node-captcha.complexity

Image complexity. An integer between 0 and 6.

Default: 1.

node-captcha.height

Image height.

Default: 60.

node-captcha.lineWidth

Image text line width. An integer.

Default: 4.

node-captcha.noise

If true, the noise is enabled. Otherwise, it is disabled.

Default: true.

node-captcha.noiseColor

Image noise color. A CSS RGB color string.

Default: node-captcha.color.

node-captcha.size

Generated character count. An integer.

Default: 6.

node-captcha.spacing

Spacing between characters in the image. An integer.

Default: 4.

node-captcha.ttl

A TTL for a generated challenge. An integer (milliseconds).

Default: 300000 (5 minutes).

node-captcha.width

Image width.

Default: (node-captcha.height * node-captcha.size) / 1.8 (200).

Clone this wiki locally