Sha256: 731b2470256cc49d218399566895eed4f2fea599fb7adb56a614bd643b04bf5d

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 Bytes

Contents

if Rails.env.production? && EuGdpr::Configuration.enforce_ssl?
  raise "[EU GDPR] Legal regulations require enabled ssl (via force_ssl), but force_ssl is not set to true for production environment." unless Rails.application.config.force_ssl == true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_eu_gdpr-0.0.4 config/initializers/enforce_ssl.rb