Flip the ssl_required logic to have the default not enforce anything, unless the config parameters is explicitly defined and set to true
parent
10053ce315
commit
2349920254
@ -1,2 +1,2 @@
|
||||
domain = CartoDB.subdomainless_urls? ? nil : Cartodb.config[:session_domain]
|
||||
CartoDB::Application.config.session_store :cookie_store, key: '_cartodb_session', secure_random: true, domain: domain, expire_after: 7.days, httponly: true, secure: (Cartodb.config[:ssl_required].nil? || Cartodb.config[:ssl_required])
|
||||
CartoDB::Application.config.session_store :cookie_store, key: '_cartodb_session', secure_random: true, domain: domain, expire_after: 7.days, httponly: true, secure: Cartodb.config[:ssl_required] == true
|
||||
|
Loading…
Reference in new issue