isCaptchaRequiredForEndpoint
isCaptchaRequiredForEndpoint(
config,endpoint):boolean
Check if CAPTCHA is required for a specific endpoint
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
config | undefined | CaptchaConfig | CAPTCHA configuration from useCaptchaConfig |
endpoint | string | The endpoint to check (e.g., ‘signup’, ‘login’, ‘password_reset’) |
Returns
Section titled “Returns”boolean
Whether CAPTCHA is required for this endpoint