-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from IUBLibTech/sda_recaptcha
[IUS-2220] optionally support recaptcha
- Loading branch information
Showing
13 changed files
with
202 additions
and
130 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# only let through requests that Google gives a score of > this score (between 0 and 1), | ||
# where 1.0 is very likely a good interaction, 0.0 is very likely a bot; | ||
# If the initial request fails to pass, our code (currently) falls back to a v2 reCAPTCHA challenge. | ||
# See https://developers.google.com/recaptcha/docs/v3 | ||
RECAPTCHA_MINIMUM_SCORE=0.5 | ||
# v3 | ||
RECAPTCHA_SITE_KEY_V3='your_recaptcha_v3_site_key' | ||
RECAPTCHA_SECRET_KEY_V3='your_recaptcha_v3_secret_key' | ||
# v2 -- used for fallback if v3 verification fails | ||
RECAPTCHA_SITE_KEY='your_recaptcha_v2_site_key' | ||
RECAPTCHA_SECRET_KEY='your_recaptcha_v2_secret_key' |
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
Oops, something went wrong.