From 9de7d3fc5319bba0a835c3f711de4237aeb5e299 Mon Sep 17 00:00:00 2001 From: zadam Date: Wed, 3 Jun 2020 11:47:30 +0200 Subject: [PATCH] fix unloading protected session after clicking on a button, closes #1078 --- src/public/app/services/protected_session.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/public/app/services/protected_session.js b/src/public/app/services/protected_session.js index 29f6e4e9a..46b83b5a3 100644 --- a/src/public/app/services/protected_session.js +++ b/src/public/app/services/protected_session.js @@ -10,7 +10,7 @@ let protectedSessionDeferred = null; async function leaveProtectedSession() { if (protectedSessionHolder.isProtectedSessionAvailable()) { - utils.reloadApp(); + protectedSessionHolder.resetProtectedSession(); } } @@ -113,4 +113,4 @@ export default { enterProtectedSession, leaveProtectedSession, setupProtectedSession -}; \ No newline at end of file +};