lib/roda/plugins/sessions.rb in roda-3.24.0 vs lib/roda/plugins/sessions.rb in roda-3.25.0
- old
+ new
@@ -69,12 +69,12 @@
# the session derived from user input and also storing sensitive data in the session.
# :key :: The cookie name to use (default: <tt>'roda.session'</tt>)
# :max_seconds :: The maximum number of seconds to allow for total session lifetime, starting with when
# the session was originally created. Default is <tt>86400*30</tt> (30 days). Can be set to
# +nil+ to disable session lifetime checks.
- # :max_idle_sessions :: The maximum number of seconds to allow since the session was last updated.
- # Default is <tt>86400*7</tt> (7 days). Can be set to nil to disable session idleness
- # checks.
+ # :max_idle_seconds :: The maximum number of seconds to allow since the session was last updated.
+ # Default is <tt>86400*7</tt> (7 days). Can be set to nil to disable session idleness
+ # checks.
# :old_secret :: The previous secret to use, allowing for secret rotation. Must be a string of at least 64
# bytes if given.
# :pad_size :: Pad session data (after possible compression, before encryption), to a multiple of this
# many bytes (default: 32). This can be between 2-4096 bytes, or +nil+ to disable padding.
# :per_cookie_cipher_secret :: Uses a separate cipher key for every cookie, with the key used generated using