You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constCoreModule=AdminCoreModuleFactory.createAdminCoreModule({adminController: AdminController,adminSite: AdminSiteService,});constAdminAuthModule=AdminAuthModuleFactory.createAdminAuthModule({adminCoreModule: CoreModule,// what admin module are you configuring authentication forcredentialValidator: adminCredentialValidator,// how do you validate credentialsimports: [AuthModule],// what modules export the dependencies of the credentialValidator availableproviders: [],// additional providers that will be instanciated and exported by the AdminAuthModuleFactory});
@Module({imports: [CoreModule,AdminAuthModule],})exportclassBackofficeModule{}
I'm using nestjs-admin version 0.4.0
Someone can help me about this issue? Thank you
The text was updated successfully, but these errors were encountered:
I found out the problem by myself, because in my the feature modules, I tried to import the DefaultAdminModule and inject DefaultAdminSite instead of my custom modules and my custom service, so the DefaultAdminModule was still used.
So the codes in one of my feature modules should be changed to:
I tried to setup the Admin site by
nestjs-admin
but I cannot customize thesiteHeader
, it's alwaysNestJS Administrator
Here are my codes:
Custom Admin Site
Backoffice module:
I'm using nestjs-admin version 0.4.0
Someone can help me about this issue? Thank you
The text was updated successfully, but these errors were encountered: