fix unloading protected session after clicking on a button, closes #1078

This commit is contained in:
zadam 2020-06-03 11:47:30 +02:00
parent 3c5db844ba
commit 9de7d3fc53

View file

@ -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
};
};