more granular detection of changes which forces less disruptive realoding. Refactoring of audit functions

This commit is contained in:
azivner
2017-11-05 10:41:54 -05:00
parent 8c996a75ef
commit 0481b1b79c
9 changed files with 214 additions and 194 deletions

View File

@@ -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 {