mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-18 17:31:53 +08:00
fix unloading protected session after clicking on a button, closes #1078
This commit is contained in:
parent
3c5db844ba
commit
9de7d3fc53
@ -10,7 +10,7 @@ let protectedSessionDeferred = null;
|
|||||||
|
|
||||||
async function leaveProtectedSession() {
|
async function leaveProtectedSession() {
|
||||||
if (protectedSessionHolder.isProtectedSessionAvailable()) {
|
if (protectedSessionHolder.isProtectedSessionAvailable()) {
|
||||||
utils.reloadApp();
|
protectedSessionHolder.resetProtectedSession();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user