mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
more granular detection of changes which forces less disruptive realoding. Refactoring of audit functions
This commit is contained in:
@@ -61,7 +61,7 @@ async function changePassword(currentPassword, newPassword, req = null) {
|
||||
|
||||
await options.setOption('password_verification_hash', newPasswordVerificationKey);
|
||||
|
||||
await sql.addAudit(audit_category.CHANGE_PASSWORD, req);
|
||||
await sql.addAudit(audit_category.CHANGE_PASSWORD, utils.browserId(req));
|
||||
});
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user