X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-demo.git;a=blobdiff_plain;f=afb-client%2Fapp%2FFrontend%2Fwidgets%2FNotifications%2FTokenRefreshSvc.js;fp=afb-client%2Fapp%2FFrontend%2Fwidgets%2FNotifications%2FTokenRefreshSvc.js;h=2c7c3dac9119fcf27116e4072d7dc383167579b4;hp=4dee196b220d9f3af0737df9f01b9a58253ac8cb;hb=a1c9f0e713b2b6e6cd2469fd34de18507b3290c6;hpb=95a5e12dca0e0e0eb93b3dad69e529d737840d38 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"); }); };