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
|
||||
|
@ -210,6 +210,10 @@ en:
|
||||
google: Google
|
||||
microsoft_office365: Office 365
|
||||
twitter: Twitter
|
||||
recaptcha:
|
||||
errors:
|
||||
recaptcha_unreachable: Oops, we failed to validate your reCAPTCHA response. Please try again.
|
||||
verification_failed: reCAPTCHA verification failed, please try again.
|
||||
recording:
|
||||
all_recordings: All Recordings
|
||||
email: Email Recording
|
||||
|
Reference in New Issue
Block a user