Fortinet black logo

CLI Reference

user recaptcha-user

user recaptcha-user

Use this command to create a reCAPTCHA server that FortiWeb uses to perform bot confirmation with Google reCAPTCHA service. This requires you to set the site key and secret key in the reCAPTCHA server configurations in FortiWeb so that it can communicates with the reCAPTCHA service on behalf of your application server.

To use this command, your administrator account’s access control profile must have either w or rw permission to the authusergrp area. For details, see Permissions.

To use this command, you should enable recaptcha in system feature-visibility. See system feature-visibility.

Syntax

config user recaptcha-user

edit "<recaptcha_server_name>"

set type {tickbox | invisible}

set site-key <str>

set secret-key <str>

next

end

Variable Description Default

type {tickbox | invisible}

Select the type of the reCAPTCHA service you have registered in Google. tickbox

site-key <str>

Enter the site key No default.

secret-key <str>

Enter the secret key. No default.

user recaptcha-user

Use this command to create a reCAPTCHA server that FortiWeb uses to perform bot confirmation with Google reCAPTCHA service. This requires you to set the site key and secret key in the reCAPTCHA server configurations in FortiWeb so that it can communicates with the reCAPTCHA service on behalf of your application server.

To use this command, your administrator account’s access control profile must have either w or rw permission to the authusergrp area. For details, see Permissions.

To use this command, you should enable recaptcha in system feature-visibility. See system feature-visibility.

Syntax

config user recaptcha-user

edit "<recaptcha_server_name>"

set type {tickbox | invisible}

set site-key <str>

set secret-key <str>

next

end

Variable Description Default

type {tickbox | invisible}

Select the type of the reCAPTCHA service you have registered in Google. tickbox

site-key <str>

Enter the site key No default.

secret-key <str>

Enter the secret key. No default.