Skip to content

Commit

Permalink
Updated captcha configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmrsulja committed Dec 15, 2023
1 parent 15504f0 commit 31421c9
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions home/src/main/resources/config/example.runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -456,10 +456,15 @@ createAndLink.providers = doi, pmid
#comma separated list of mime types allowed for upload
#fileUpload.allowedMIMETypes = image/png, application/pdf

# Captcha configuration. Available implementations are: DEFAULT (text-based) and RECAPTCHA
# If captcha.implementation property is not provided, system will fall back to DEFAULT implementation
# Captcha configuration. Available implementations are: NANOCAPTCHA (text-based) and RECAPTCHA
# 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 RECAPTCHA method, you have to provide siteKey and secretKey.
# More information on siteKey and secretKey is available on: https://www.google.com/recaptcha
captcha.implementation = DEFAULT
captcha.enabled = true
captcha.implementation = NANOCAPTCHA
nanocaptcha.difficulty = hard
#recaptcha.siteKey =
#recaptcha.secretKey =

0 comments on commit 31421c9

Please sign in to comment.