Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2020-12-04 01:02:02 +0300
committerGitHub <noreply@github.com>2020-12-04 01:02:02 +0300
commitd81b5cf0426b029c1ac5cdbaa084d1e7f55e5d50 (patch)
tree9666b8b841b04df900be671451aeda9e0f28d060 /plugins/UserCountryMap/javascripts/realtime-map.js
parent0d5053c6d0f0f539d8ad460af70ce7cc86420fd0 (diff)
Do not force api session usage for widgetized views (#16875)
Diffstat (limited to 'plugins/UserCountryMap/javascripts/realtime-map.js')
-rw-r--r--plugins/UserCountryMap/javascripts/realtime-map.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserCountryMap/javascripts/realtime-map.js b/plugins/UserCountryMap/javascripts/realtime-map.js
index 416bed57ae..f3e6c0f648 100644
--- a/plugins/UserCountryMap/javascripts/realtime-map.js
+++ b/plugins/UserCountryMap/javascripts/realtime-map.js
@@ -148,7 +148,7 @@
return $.ajax({
url: 'index.php?' + $.param(params),
dataType: 'json',
- data: { token_auth: tokenAuth, force_api_session: '1' },
+ data: { token_auth: tokenAuth, force_api_session: broadcast.isWidgetizeRequestWithoutSession() ? 0 : 1 },
type: 'POST'
});
}