mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
after changing encryption timeout in the settings, apply this immediatelly
This commit is contained in:
parent
a14257a31c
commit
d47b2e5d0e
@ -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…
x
Reference in New Issue
Block a user