Skip to content

Commit

Permalink
Changed session cookie configuration as advised by sonarcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
SDKHISSI authored and SDKHISSI committed Jan 23, 2025
1 parent 85d0d0a commit 6cf7047
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/dockerfileGHA.dev/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ session.cookie_domain =
; Whether or not to add the httpOnly flag to the cookie, which makes it
; inaccessible to browser scripting languages such as JavaScript.
; https://php.net/session.cookie-httponly
session.cookie_httponly =
session.cookie_httponly = 1

; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF)
; Current valid values are "Strict", "Lax" or "None". When using "None",
Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfileGHA.prod/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ session.cookie_domain =
; Whether or not to add the httpOnly flag to the cookie, which makes it
; inaccessible to browser scripting languages such as JavaScript.
; https://php.net/session.cookie-httponly
session.cookie_httponly =
session.cookie_httponly = 1

; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF)
; Current valid values are "Strict", "Lax" or "None". When using "None",
Expand Down

0 comments on commit 6cf7047

Please sign in to comment.