1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

secure the session cookie

This commit is contained in:
Sylvain 2020-03-09 12:12:42 +01:00
parent 63d671609f
commit a91b0b4631
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
# Changelog Fab-manager
- Secure the session cookie
- Refactored translations to help merging Crowdin PR
## v4.3.1 2020 March 04
- Updated user's manual for v4.3 (fr)

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_fablab_session'
Rails.application.config.session_store :cookie_store, key: '_Fab-manager_session', secure: (Rails.env.production? || Rails.env.staging?)