]> gitweb.mndrdr.org Git - arelpe.git/commitdiff
hcatpcha settings
authorAidan Cornelius-Bell <[email protected]>
Tue, 8 Oct 2024 08:28:27 +0000 (18:58 +1030)
committerAidan Cornelius-Bell <[email protected]>
Tue, 8 Oct 2024 08:28:27 +0000 (18:58 +1030)
config/environments/development.rb
config/environments/production.rb
config/environments/test.rb

index 31b16e519c204739932c8d29bd3eb06026f2d96d..74d7105a075a72832cb6c050722039785f5194a7 100644 (file)
@@ -76,7 +76,7 @@ Rails.application.configure do
   # Raise error when a before_action's only/except options reference missing actions.
   config.action_controller.raise_on_missing_callback_actions = true
   
-  # Turn of captcha stuff for localhost
+  # Turn off captcha stuff for localhost
   config.hcaptcha_enabled = false
 
   # Apply autocorrection by RuboCop to files generated by `bin/rails generate`.
index 5620a094f7311352d204019ddb8d66dd4d47d03e..d9312690c19f169c09658165bd7b8e17c0f35905 100644 (file)
@@ -97,6 +97,9 @@ Rails.application.configure do
   # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
   # the I18n.default_locale when a translation cannot be found).
   config.i18n.fallbacks = true
+  
+  # Turn off captcha stuff for localhost
+  config.hcaptcha_enabled = true
 
   # Don't log any deprecations.
   config.active_support.report_deprecations = false
index 0c616a1bf52116454b0116a5edecd40b6eb6bcaf..59c672390d801a2cd61bf1a3a9b5da78b1796f49 100644 (file)
@@ -55,7 +55,10 @@ Rails.application.configure do
 
   # Tell Active Support which deprecation messages to disallow.
   config.active_support.disallowed_deprecation_warnings = []
-
+  
+  # Turn off captcha stuff for localhost
+  config.hcaptcha_enabled = false
+  
   # Raises error for missing translations.
   # config.i18n.raise_on_missing_translations = true