Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added captcha configuration example. #3920

Merged
merged 5 commits into from
Jan 10, 2024
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions home/src/main/resources/config/example.runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -455,3 +455,17 @@ createAndLink.providers = doi, pmid
#fileUpload.maxFileSize = 10485760
#comma separated list of mime types allowed for upload
#fileUpload.allowedMIMETypes = image/png, application/pdf

# Captcha configuration. Available implementations are: nanocaptcha (text-based) and recaptchav2
# nanocaptcha is available in 2 difficulties (easy and hard)
# If captcha.implementation property is not provided, system will fall back to nanocaptcha implementation
# with easy diffuculty (if captcha is enabled)
# For recaptchav2 method, you have to provide siteKey and secretKey.
# More information on siteKey and secretKey is available on: https://www.google.com/recaptcha
# Only recaptchav2 implementation is supported
captcha.enabled = true
captcha.implementation = nanocaptcha
nanocaptcha.difficulty = hard
ivanmrsulja marked this conversation as resolved.
Show resolved Hide resolved
#recaptcha.siteKey =
#recaptcha.secretKey =

Loading