mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Remove ssl deprecated configuration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user