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:
parent
63d671609f
commit
a91b0b4631
@ -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)
|
||||
|
@ -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?)
|
||||
|
Loading…
Reference in New Issue
Block a user