Skip to content

Commit

Permalink
Merge pull request #21239 from ajlirap/patch-3
Browse files Browse the repository at this point in the history
Update impersonation.md
  • Loading branch information
maliming authored Nov 2, 2024
2 parents d5cbbf8 + fee7b75 commit 8ac2f10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/en/modules/account/impersonation.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ No need to do anything here.

1. Depends `AbpAccountPublicWebImpersonationModule(Volo.Abp.Account.Pro.Public.Web.Impersonation)` and `AbpAccountPublicBlazorServerModule(Volo.Abp.Account.Pro.Public.Blazor.Server)` on your `BlazorModule`

2. Chnage the base class of `AccountController` to `AbpAccountImpersonationChallengeAccountController`
2. Change the base class of `AccountController` to `AbpAccountImpersonationChallengeAccountController`
```cs
public class AccountController : AbpAccountImpersonationChallengeAccountController
{
Expand Down Expand Up @@ -301,7 +301,7 @@ public override void ConfigureServices(ServiceConfigurationContext context)
#### Web
1. Depends `AbpAccountPublicWebImpersonationModule(Volo.Abp.Account.Pro.Public.Web.Impersonation)` on your `WebModule`
2. Chnage the base class of `AccountController` to `AbpAccountImpersonationChallengeAccountController`
2. Change the base class of `AccountController` to `AbpAccountImpersonationChallengeAccountController`
```cs
public class AccountController : AbpAccountImpersonationChallengeAccountController
Expand Down Expand Up @@ -367,7 +367,7 @@ public override void ConfigureServices(ServiceConfigurationContext context)
1. Depends `AbpAccountPublicWebImpersonationModule(Volo.Abp.Account.Pro.Public.Web.Impersonation)` and `AbpAccountPublicBlazorServerModule(Volo.Abp.Account.Pro.Public.Blazor.Server)` on your `BlazorModule`
2. Chnage the base class of `AccountController` to `AbpAccountImpersonationChallengeAccountController`
2. Change the base class of `AccountController` to `AbpAccountImpersonationChallengeAccountController`
```cs
public class AccountController : AbpAccountImpersonationChallengeAccountController
{
Expand Down

0 comments on commit 8ac2f10

Please sign in to comment.