diff --git a/docs/en/Modules/OpenIddict.md b/docs/en/Modules/OpenIddict.md index 32c51164ac..cfa35b7e2c 100644 --- a/docs/en/Modules/OpenIddict.md +++ b/docs/en/Modules/OpenIddict.md @@ -299,12 +299,12 @@ PreConfigure(options => The background task that automatically removes orphaned tokens/authorizations. This can be configured by `TokenCleanupOptions` to manage it. -`TokenCleanupOptions` can be configured in the `PreConfigureServices` method of your OpenIddict [module](https://docs.abp.io/en/abp/latest/Module-Development-Basics). +`TokenCleanupOptions` can be configured in the `ConfigureServices` method of your OpenIddict [module](https://docs.abp.io/en/abp/latest/Module-Development-Basics). Example: ```csharp -PreConfigure(options => +Configure(options => { //Set options here... }); diff --git a/docs/en/UI/Angular/Account-Module.md b/docs/en/UI/Angular/Account-Module.md index d3934ab18b..28852f6b4d 100644 --- a/docs/en/UI/Angular/Account-Module.md +++ b/docs/en/UI/Angular/Account-Module.md @@ -61,16 +61,23 @@ npm install @volo/abp.ng.account Open the `app.module.ts` and add `AccountPublicConfigModule.forRoot()` to the imports array as shown below: +> Ensure that the `Account Layout Module` has been added if you are using the Lepton X theme. If you miss the step, you will get an error message that says `Account layout not found. Please check your configuration. If you are using LeptonX, please make sure you have added "AccountLayoutModule.forRoot()" to your app.module configuration.` when you try to access the account pages. Otherwise, you can skip adding the `AccountLayoutModule` step. + + ```js // app.module.ts import { AccountPublicConfigModule } from '@volo/abp.ng.account/public/config'; +// if you are using or want to use Lepton X, you should add AccountLayoutModule +// import { AccountLayoutModule } from '@volosoft/abp.ng.theme.lepton-x/account' + //... @NgModule({ imports: [ //... - AccountPublicConfigModule.forRoot() + AccountPublicConfigModule.forRoot(), + // AccountLayoutModule.forRoot() // Only for Lepton X ], //... })