diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php index 11373a74014..e577002650c 100644 --- a/lib/user.php +++ b/lib/user.php @@ -476,7 +476,7 @@ class OC_User { $secure_cookie = OC_Config::getValue("forcessl", false); $expires = time() + OC_Config::getValue('remember_login_cookie_lifetime', 60*60*24*15); setcookie("oc_username", $username, $expires, '', '', $secure_cookie); - setcookie("oc_token", $token, $expires, '', '', $secure_cookie); + setcookie("oc_token", $token, $expires, '', '', $secure_cookie, true); setcookie("oc_remember_login", true, $expires, '', '', $secure_cookie); } |