forked from GNUsocial/gnu-social
Set cookies with "secure" flag on SSL sites. Improves security.
This commit is contained in:
parent
b3cd558fe7
commit
22a0cf6251
@ -326,7 +326,8 @@ function common_set_cookie($key, $value, $expiration=0)
|
||||
$value,
|
||||
$expiration,
|
||||
$cookiepath,
|
||||
$server);
|
||||
$server,
|
||||
common_config('site', 'ssl')=='always');
|
||||
}
|
||||
|
||||
define('REMEMBERME', 'rememberme');
|
||||
|
Loading…
Reference in New Issue
Block a user