From a1c9f0e713b2b6e6cd2469fd34de18507b3290c6 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Sun, 29 May 2016 19:45:13 +0200 Subject: [PATCH] Update client window exit --- afb-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }); }; -- 2.16.6