Skip to content

Commit

Permalink
enable secure flag on session #303
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed Nizar committed Jan 5, 2021
1 parent 058fb3a commit d8c38c7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,13 @@
* To use database sessions, load the SQL file located at config/Schema/sessions.sql
*/
'Session' => [
'defaults' => 'php',
'defaults' => 'cake',
'timeout' => 30,
'cookieTimeout' => 30,
'ini' => array(
'session.cookie_secure' => true,
'session.cookie_httponly' => true
)
// 'defaults' => 'cache',
],
'debug' => true
Expand Down

0 comments on commit d8c38c7

Please sign in to comment.