1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Only set session cookie on SSL.

This commit is contained in:
Dan Barber 2013-05-17 08:32:47 +01:00
parent c82b7bd58b
commit 279b5e22cc

View File

@ -1,6 +1,6 @@
# Be sure to restart your server when you modify this file.
DanBarberPhoto::Application.config.session_store :cookie_store, key: '_danbarberphoto_session'
DanBarberPhoto::Application.config.session_store :cookie_store, key: '_danbarberphoto_session', secure: true
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information