Update UserOperationLog in AccountFormDialog.
This commit is contained in:
@@ -156,7 +156,7 @@ void AccountFormDialog::addSelfModeUI(QHBoxLayout* hlayout)
|
||||
hlayout->addWidget(btnLogout);
|
||||
connect(btnLogout, &QAbstractButton::clicked, [=]() {
|
||||
accept();
|
||||
LOG_USER_OPERATION(Logout)
|
||||
LOG_USER_OPERATION("Logout")
|
||||
EventCenter::Default()->triggerEvent(RequestLogin, nullptr, nullptr);
|
||||
});
|
||||
// load current user data
|
||||
@@ -201,7 +201,7 @@ bool AccountFormDialog::updateReferenceData()
|
||||
if (ret)
|
||||
{
|
||||
hideWarn();
|
||||
LOG_USER_OPERATION(ChangeUserName)
|
||||
LOG_USER_OPERATION("Change User Name")
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -228,7 +228,7 @@ bool AccountFormDialog::updateReferenceData()
|
||||
bool ret = user.submitChange();
|
||||
if (ret)
|
||||
{
|
||||
LOG_USER_OPERATION(AdminChangeAcountInformation)
|
||||
LOG_USER_OPERATION("Admin Change Acount Information")
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user