lib/rack/session/abstract/id.rb in rack-session-0.2.1 vs lib/rack/session/abstract/id.rb in rack-session-0.3.0
- old
+ new
@@ -248,10 +248,10 @@
sidbits: 128,
cookie_only: true,
secure_random: ::SecureRandom
}.freeze
- attr_reader :key, :default_options, :sid_secure
+ attr_reader :key, :default_options, :sid_secure, :same_site
def initialize(app, options = {})
@app = app
@default_options = self.class::DEFAULT_OPTIONS.merge(options)
@key = @default_options.delete(:key)