summaryrefslogtreecommitdiffstats
path: root/afb-client
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2016-05-29 19:45:13 +0200
committerFulup Ar Foll <fulup@iot.bzh>2016-05-29 19:45:13 +0200
commita1c9f0e713b2b6e6cd2469fd34de18507b3290c6 (patch)
treef81ec7bf2fd004bb1f17a727d19a71566f0fa48e /afb-client
parent95a5e12dca0e0e0eb93b3dad69e529d737840d38 (diff)
Update client window exit
Diffstat (limited to 'afb-client')
-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");
});
};