Skip to content

Commit ed72263

Browse files
committed
testing a new cookie secure setting for firefox mainly
1 parent 0538dd8 commit ed72263

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

www/wp-config.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
define('WP_STATELESS_MEDIA_BODY_REWRITE', 'false');
6464

6565

66-
6766
// For ProudCity, to fix issues related to migration
6867
define('PROUD_WP_STATELESS_FORCE', getenv('PROUD_WP_STATELESS_FORCE'));
6968

@@ -141,6 +140,10 @@
141140
}
142141
define('WP_ENVIRONMENT_TYPE', (string) $environment_type);
143142

143+
define('FORCE_SSL_ADMIN', true);
144+
@ini_set('session.cookie_secure', '1');
145+
@ini_set('session.cookie_samesite', 'Lax');
146+
144147

145148
$url = (getenv('TLS') === 'true' ? 'https' : 'http') . '://' . getenv('HOST');
146149
define("WP_SITEURL", $url.'/');

0 commit comments

Comments
 (0)