Commit 068ddef3 authored by Tz-Huan Huang's avatar Tz-Huan Huang

Update laravel/session/drivers/cookie.php

parent 23d23dd0
...@@ -39,7 +39,7 @@ class Cookie extends Driver { ...@@ -39,7 +39,7 @@ class Cookie extends Driver {
$payload = Crypter::encrypt(serialize($session)); $payload = Crypter::encrypt(serialize($session));
C::put(Cookie::payload, $payload, $lifetime, $path, $domain); C::put(Cookie::payload, $payload, $lifetime, $path, $domain, $secure);
} }
/** /**
...@@ -53,4 +53,4 @@ class Cookie extends Driver { ...@@ -53,4 +53,4 @@ class Cookie extends Driver {
C::forget(Cookie::payload); C::forget(Cookie::payload);
} }
} }
\ No newline at end of file
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