forked from digitalbiblesociety/dbp
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FCBHDBP-298 It has added the captcha field to API Key Request Form. I…
…t has added new env parameters to set the cache key values.
- Loading branch information
1 parent
9f198d0
commit 3a784ce
Showing
11 changed files
with
239 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
return [ | ||
'api_site_key' => env('CHECKBOX_RECAPTCHA_SITEKEY', ''), | ||
'api_secret_key' => env('CHECKBOX_RECAPTCHA_SECRETKEY', ''), | ||
// changed in v4.0.0 | ||
'version' => 'v2', // supported: "v3"|"v2"|"invisible" | ||
// @since v3.4.3 changed in v4.0.0 | ||
'curl_timeout' => 10, | ||
'skip_ip' => [], // array of IP addresses - String: dotted quad format e.g.: "127.0.0.1" | ||
// @since v3.2.0 changed in v4.0.0 | ||
'default_validation_route' => 'biscolab-recaptcha/validate', | ||
// @since v3.2.0 changed in v4.0.0 | ||
'default_token_parameter_name' => 'token', | ||
// @since v3.6.0 changed in v4.0.0 | ||
'default_language' => null, | ||
// @since v4.0.0 | ||
'default_form_id' => 'biscolab-recaptcha-invisible-form', // Only for "invisible" reCAPTCHA | ||
// @since v4.0.0 | ||
'explicit' => false, // true|false | ||
// @since v4.3.0 | ||
'api_domain' => "www.google.com", // default value is "www.google.com" | ||
// @since v4.0.0 | ||
'tag_attributes' => [ | ||
'theme' => 'light', // "light"|"dark" | ||
'size' => 'normal', // "normal"|"compact" | ||
'tabindex' => 0, | ||
'callback' => null, // DO NOT SET "biscolabOnloadCallback" | ||
'expired-callback' => null, // DO NOT SET "biscolabOnloadCallback" | ||
'error-callback' => null, // DO NOT SET "biscolabOnloadCallback" | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.