diff options
| author | Mandragorat Wandystanu <wktir@wandystan.eu> | 2018-05-02 23:06:00 +0200 |
|---|---|---|
| committer | Mandragorat Wandystanu <wktir@wandystan.eu> | 2018-05-02 23:06:00 +0200 |
| commit | 042c11a2deb0c091b5bb86addf834e210acf2a87 (patch) | |
| tree | 80da5f959d4f3e5a25256a644dad4f932c547699 | |
| parent | e0eaa3dc47fc6f9af8693071184dcdc5eb60aa4e (diff) | |
Login.class.php: Set secure cookies.
| -rw-r--r-- | static/php/classes/Login.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/php/classes/Login.class.php b/static/php/classes/Login.class.php index 0f426eb..e1ddddf 100644 --- a/static/php/classes/Login.class.php +++ b/static/php/classes/Login.class.php @@ -43,7 +43,7 @@ class Login ); } else { session_name('ssw_login'); - session_set_cookie_params(self::ONE_YEAR, '/', '.wandystan.eu'); + session_set_cookie_params(self::ONE_YEAR, '/', '.wandystan.eu', TRUE, TRUE); session_start(); } } |
