update text content

This commit is contained in:
MaysWind
2024-04-06 13:07:16 +08:00
parent cb57b216d0
commit 4b68ccf678
70 changed files with 557 additions and 563 deletions
+3 -3
View File
@@ -475,11 +475,11 @@ func disableUser2FA(c *cli.Context) error {
err = clis.UserData.DisableUserTwoFactorAuthorization(c, username)
if err != nil {
log.BootErrorf("[user_data.disableUser2FA] error occurs when disabling user two factor authorization")
log.BootErrorf("[user_data.disableUser2FA] error occurs when disabling user two-factor authorization")
return err
}
log.BootInfof("[user_data.disableUser2FA] two factor authorization of user \"%s\" has been disabled", username)
log.BootInfof("[user_data.disableUser2FA] two-factor authorization of user \"%s\" has been disabled", username)
return nil
}
@@ -570,7 +570,7 @@ func exportUserTransaction(c *cli.Context) error {
}
if filePath == "" {
log.BootErrorf("[user_data.exportUserTransaction] export file path is not specified")
log.BootErrorf("[user_data.exportUserTransaction] export file path is unspecified")
return os.ErrNotExist
}