-
Notifications
You must be signed in to change notification settings - Fork 4
II.1.b. captcha
- codecha.privateKey
- codecha.publicKey
- google-recaptcha.privateKey
- google-recaptcha.publicKey
- google-recaptcha-v1.privateKey
- google-recaptcha-v1.publicKey
- node-captcha.background
- node-captcha.color
- node-captcha.complexity
- node-captcha.height
- node-captcha.lineWidth
- node-captcha.noise
- node-captcha.noiseColor
- node-captcha.size
- node-captcha.spacing
- node-captcha.ttl
- node-captcha.width
Codecha service private key.
Default: ""
(empty string
).
Codecha service public key.
Default: ""
(empty string
).
Google reCAPTCHA service private key.
Default: ""
(empty string
).
Google reCAPTCHA service public key.
Default: ""
(empty string
).
Google reCAPTCHA service private key (old v1 version).
Default: ""
(empty string
).
Google reCAPTCHA service public key (old v1 version).
Default: ""
(empty string
).
Image background color. A CSS RGB color string.
Default: "rgb(255,255,255)"
.
Image text color. A CSS RGB color string.
Default: "rgb(0,0,0)"
.
Image complexity. An integer between 0 and 6.
Default: 1
.
Image height.
Default: 60
.
Image text line width. An integer.
Default: 4
.
If true
, the noise is enabled. Otherwise, it is disabled.
Default: true
.
Image noise color. A CSS RGB color string.
Default: node-captcha.color
.
Generated character count. An integer.
Default: 6
.
Spacing between characters in the image. An integer.
Default: 4
.
A TTL for a generated challenge. An integer (milliseconds).
Default: 300000
(5 minutes).
Image width.
Default: (node-captcha.height * node-captcha.size) / 1.8
(200
).