Remove ssl deprecated configuration

This commit is contained in:
Hugo Daniel
2018-04-12 15:09:16 +02:00
committed by Pau Perez
parent 6f3663f1b9
commit e6b58c6db4

View File

@@ -27,14 +27,3 @@ end
# unless the empty module is explicity 'registered' here. Something to do with autoloading?
module OpenFoodNetwork
end
# Forcing spree to always allow SSL connections
# Since we are using config.force_ssl = true
# Without this we get a redirect loop: see https://groups.google.com/forum/#!topic/spree-user/NwpqGxJ4klk
SslRequirement.module_eval do
protected
def ssl_allowed?
true
end
end