Commit 37503be7 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #1685 from tzhuan/patch-1

Update laravel/session/drivers/cookie.php
parents ffd57694 068ddef3
...@@ -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