purges simple_captcha
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
<%= fetch(:rails_env) %>:
|
||||
recaptcha_public_key: <%= ENV["MADRID_RECAPTCHA_PUBLIC_KEY"] %>
|
||||
recaptcha_private_key: <%= ENV["MADRID_RECAPTCHA_PRIVATE_KEY"] %>
|
||||
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
||||
twitter_key: <%= ENV["TWITTER_KEY"] %>
|
||||
twitter_secret: <%= ENV["TWITTER_SECRET"] %>
|
||||
|
||||
@@ -105,7 +105,6 @@ ignore_unused:
|
||||
- 'activerecord.*'
|
||||
- 'activemodel.*'
|
||||
- 'unauthorized.*'
|
||||
- 'simple_captcha.*'
|
||||
- 'admin.officials.level_*'
|
||||
- 'admin.comments.index.filter*'
|
||||
- 'admin.debates.index.filter*'
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
SimpleCaptcha.always_pass = false
|
||||
|
||||
SimpleCaptcha.setup do |sc|
|
||||
# default: 100x28
|
||||
sc.image_size = '120x40'
|
||||
|
||||
# default: 5
|
||||
sc.length = 6
|
||||
|
||||
# default: simply_blue
|
||||
# possible values:
|
||||
# 'embosed_silver',
|
||||
# 'simply_red',
|
||||
# 'simply_green',
|
||||
# 'simply_blue',
|
||||
# 'distorted_black',
|
||||
# 'all_black',
|
||||
# 'charcoal_grey',
|
||||
# 'almost_invisible'
|
||||
# 'random'
|
||||
sc.image_style = 'simply_green'
|
||||
|
||||
# default: low
|
||||
# possible values: 'low', 'medium', 'high', 'random'
|
||||
sc.distortion = 'random'
|
||||
|
||||
# default: medium
|
||||
# possible values: 'none', 'low', 'medium', 'high'
|
||||
sc.implode = 'medium'
|
||||
|
||||
# sc.image_style = 'mycaptha'
|
||||
# sc.add_image_style('mycaptha', [
|
||||
# "-background '#F4F7F8'",
|
||||
# "-fill '#86818B'",
|
||||
# "-border 1",
|
||||
# "-bordercolor '#E0E2E3'"])
|
||||
end
|
||||
@@ -417,15 +417,6 @@ en:
|
||||
categories: "Categories"
|
||||
target_blank_html: " (link opens in new window)"
|
||||
unflag: Unflag
|
||||
simple_captcha:
|
||||
label: Enter the text from the image in the box below
|
||||
message:
|
||||
debate: the secret code does not match the image
|
||||
proposal: the secret code does not match the image
|
||||
spendingproposal: the secret code does not match the image
|
||||
user: the secret code does not match the image
|
||||
placeholder: Enter the text from the image
|
||||
refresh_button_text: Refresh
|
||||
social:
|
||||
blog: Blog
|
||||
facebook: Facebook
|
||||
|
||||
@@ -417,15 +417,6 @@ es:
|
||||
categories: "Categorías"
|
||||
target_blank_html: " (se abre en ventana nueva)"
|
||||
unflag: Deshacer denuncia
|
||||
simple_captcha:
|
||||
label: Introduce el texto de la imagen en la siguiente caja
|
||||
message:
|
||||
debate: el código secreto no coincide con la imagen
|
||||
proposal: el código secreto no coincide con la imagen
|
||||
spendingproposal: el código secreto no coincide con la imagen
|
||||
user: el código secreto no coincide con la imagen
|
||||
placeholder: Introduce el texto de la imagen
|
||||
refresh_button_text: Refrescar
|
||||
social:
|
||||
blog: Blog
|
||||
facebook: Facebook
|
||||
|
||||
Reference in New Issue
Block a user