Permalink
Browse files

expire session after 10 minutes

  • Loading branch information...
1 parent e78fe6e commit 249245aff6d1f11e5cdd745c409d46ef3f3cb8b2 @blahed committed Nov 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/initializers/session_store.rb
View
2 config/initializers/session_store.rb
@@ -1,6 +1,6 @@
# Be sure to restart your server when you modify this file.
-Roswell::Application.config.session_store :cookie_store, key: '_roswell_session'
+Roswell::Application.config.session_store :cookie_store, key: '_roswell_session', :expire_after => 10.minutes
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information

0 comments on commit 249245a

Please sign in to comment.