Skip to content

Commit

Permalink
Item14529: Ignore cookie realm override.
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Nov 12, 2017
1 parent 3e71221 commit b687e6c
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -51,7 +51,8 @@
self.options.endpointUrl = foswiki.getScriptUrl("rest", "UpdatesPlugin", "check");
}

self.options.cookieDomain = foswiki.getPreference('COOKIEREALM'); // Allow domain override
// Don't override the domain. Each host most likely needs it's own check
//self.options.cookieDomain = foswiki.getPreference('COOKIEREALM'); // Allow domain override
self.options.cookieSecure = foswiki.getPreference('URLHOST').indexOf('https://') === 0;

// events
Expand Down

0 comments on commit b687e6c

Please sign in to comment.