mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 09:12:08 +08:00
after changing encryption timeout in the settings, apply this immediatelly
This commit is contained in:
parent
a14257a31c
commit
d47b2e5d0e
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@ $("#encryptionTimeoutForm").submit(() => {
|
|||
contentType: "application/json",
|
||||
success: function () {
|
||||
alert("Encryption timeout has been changed.");
|
||||
|
||||
globalEncryptionSessionTimeout = encryptionTimeout;
|
||||
},
|
||||
error: () => alert("Error occurred during changing encryption timeout.")
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue