Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions GlobalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,9 @@
// Dynamic cookie settings dependant on $wgServer
foreach ( $wi->getAllowedDomains() as $domain ) {
if ( preg_match( '/' . preg_quote( $domain ) . '$/', $wi->server ) ) {
$wgCentralAuthCookieDomain = '.' . $domain;
$wgMFStopRedirectCookieHost = '.' . $domain;
break;
} else {
$wgCentralAuthCookieDomain = '';
if ( $wi->isExtensionActive( 'MobileFrontend' ) ) {
$host = parse_url( $wi->server, PHP_URL_HOST );
$wgMFStopRedirectCookieHost = $host !== false ? $host : null;
Expand Down