User operation log, v1

This commit is contained in:
Krad
2021-11-19 15:36:12 +08:00
parent bca10e3e60
commit 99754ab84f
9 changed files with 144 additions and 44 deletions

View File

@@ -6,6 +6,7 @@
#include <QLabel>
#include <QtWidgets/QLineEdit>
#include <src/models/User.h>
#include <src/log/UserOperationLog.h>
#include "ChangePasswordFormDialog.h"
ChangePasswordFormDialog::ChangePasswordFormDialog(QWidget *parent, Qt::WindowFlags f) : GUIFormBaseDialog(parent, f) {
@@ -87,5 +88,6 @@ bool ChangePasswordFormDialog::updateReferenceData() {
User::Current()->restorePassword(encryptPwd);
return false;
}
LOG_USER_OPERATION(ChangePassword);
return true;
}