generateCaptcha
generateCaptcha([captchaLength]) ⇒ String
Generates a random captcha string with the specified length.
Kind: global function
Returns: String
- The generated captcha string.
Param | Type | Default | Description |
---|---|---|---|
[captchaLength] | number | 5 | The length of the captcha string to generate (defaults to 5). |
Example