summaryrefslogtreecommitdiffstats
path: root/afb-client/app/Frontend
diff options
context:
space:
mode:
Diffstat (limited to 'afb-client/app/Frontend')
-rw-r--r--afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js b/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js
index 4dee196..2c7c3da 100644
--- a/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js
+++ b/afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js
@@ -40,7 +40,7 @@ angular.module('TokenRefresh', ['AppConfig', 'ModalNotification'])
scope.logged=undefined; // neither thu neither false
$window.onbeforeunload = function () {
- AppCall.get ("token", "reset", {/*query*/}, function () {
+ AppCall.get (scope.plugin, "logout", {/*query*/}, function () {
$log.log("OPA exit");
});
};