Skip to content

Commit

Permalink
Remove ssl deprecated configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
HugsDaniel committed Apr 12, 2018
1 parent f3f6708 commit 46775ab
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions config/initializers/spree.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,3 @@
# 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

0 comments on commit 46775ab

Please sign in to comment.