From d960ac085236b95d56b57f02f868f5d757a1689b Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sat, 2 Jan 2016 10:16:26 +0100 Subject: [PATCH] Add session storage clear before showing authentication dialog. --- accountant/frontend/static/js/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/accountant/frontend/static/js/app.js b/accountant/frontend/static/js/app.js index c921f53..3d303e7 100644 --- a/accountant/frontend/static/js/app.js +++ b/accountant/frontend/static/js/app.js @@ -94,6 +94,8 @@ var accountantApp = angular.module("accountantApp", [ $scope.dialogShown = true; + $storage.clear(); + bootbox.dialog({ title: "Authentification requise", message: '
' +