diff --git a/docs/en/Modules/Identity.md b/docs/en/Modules/Identity.md index c06f649723..4cd8bef316 100644 --- a/docs/en/Modules/Identity.md +++ b/docs/en/Modules/Identity.md @@ -105,8 +105,8 @@ You can inject and use `IdentitySecurityLogManager` or `ISecurityLogManager` to ```cs await IdentitySecurityLogManager.SaveAsync(new IdentitySecurityLogContext() { - Identity = "IdentityServer"; - Action = "ChangePassword"; + Identity = "IdentityServer", + Action = "ChangePassword" }); ``` diff --git a/docs/zh-Hans/Modules/Identity.md b/docs/zh-Hans/Modules/Identity.md index bf715bc7b6..d6a71f8b21 100644 --- a/docs/zh-Hans/Modules/Identity.md +++ b/docs/zh-Hans/Modules/Identity.md @@ -105,8 +105,8 @@ ```cs await IdentitySecurityLogManager.SaveAsync(new IdentitySecurityLogContext() { - Identity = "IdentityServer"; - Action = "ChangePassword"; + Identity = "IdentityServer", + Action = "ChangePassword" }); ```