mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
fixed changing password
This commit is contained in:
@@ -43,7 +43,11 @@ $("#changePasswordForm").submit(() => {
|
||||
// encryption password changed so current encryption session is invalid and needs to be cleared
|
||||
resetEncryptionSession();
|
||||
|
||||
globalEncryptedDataKey = result.new_encrypted_data_key;
|
||||
|
||||
alert("Password has been changed.");
|
||||
|
||||
$("#settingsDialog").dialog('close');
|
||||
}
|
||||
else {
|
||||
alert(result.message);
|
||||
|
||||
Reference in New Issue
Block a user