forked from External/greenlight
GRN2-125: Added a configurable reCAPTCHA on sign up (#502)
* Added a configurable reCAPTCHA on sign up * Added missing code
This commit is contained in:
committed by
Jesus Federico
parent
f6dd3d34eb
commit
75f48f4979
@ -108,5 +108,8 @@ module Greenlight
|
||||
|
||||
# Number of rows to display per page
|
||||
config.pagination_rows = ENV['NUMBER_OF_ROWS'].to_i.zero? ? 10 : ENV['NUMBER_OF_ROWS'].to_i
|
||||
|
||||
# Whether the user has defined the variables required for recaptcha
|
||||
config.recaptcha_enabled = ENV['RECAPTCHA_SITE_KEY'].present? && ENV['RECAPTCHA_SECRET_KEY'].present?
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user