Commit c25563c2 by Julien Jorry

Better secure Cookies, to change PHPSESSID you have to edit php.ini session.name…

Better secure Cookies, to change PHPSESSID you have to edit php.ini session.name AND uncomment line20 in framework.yaml
parent 4de472cf
......@@ -9,7 +9,15 @@ framework:
# Enables session support. Note that the session will ONLY be started if you read or write from it.
# Remove or comment this section to explicitly disable session support.
session:
handler_id: ~
# enables the support of sessions in the app
enabled: true
# ID of the service used for session storage.
# NULL means that Symfony uses PHP default session mechanism
handler_id: null
# improves the security of the cookies used for sessions
cookie_secure: 'auto'
cookie_samesite: 'lax'
# name: Kohinossessid
#esi: true
#fragments: true
......
......@@ -67,6 +67,9 @@ security:
domain: ~
user_provider: fos_userbundle
always_remember_me: true
name: KOHINOSREMEMBERME
secure: true
samesite: strict
context: mlc_context
switch_user:
provider: fos_userbundle
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment