Skip to content

Commit f0bea77

Browse files
Add additional check for refresh to make sure they are in the app (#23878)
* Add additional check for refresh to make sure they are in the app * Build vue files --------- Co-authored-by: innocraft-automation <innocraft-automation@users.noreply.github.com>
1 parent 7c16e03 commit f0bea77

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

plugins/CoreHome/vue/dist/CoreHome.umd.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/CoreHome/vue/dist/CoreHome.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/CoreHome/vue/src/AjaxHelper/AjaxHelper.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,9 @@ export default class AjaxHelper<T = any> { // eslint-disable-line
543543
return;
544544
}
545545

546-
if (xhr.status === 401) {
546+
const isInApp = !document.querySelector('#login_form');
547+
548+
if (xhr.status === 401 && isInApp) {
547549
Matomo.helper.refreshAfter(0);
548550
return;
549551
}

plugins/PrivacyManager/vue/dist/umd.metadata.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)