diff --git a/npm/ng-packs/apps/dev-app/src/app/app.module.ts b/npm/ng-packs/apps/dev-app/src/app/app.module.ts index 4e69d73cd0..4ad16e13e8 100644 --- a/npm/ng-packs/apps/dev-app/src/app/app.module.ts +++ b/npm/ng-packs/apps/dev-app/src/app/app.module.ts @@ -15,7 +15,7 @@ import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { APP_ROUTE_PROVIDER } from './route.provider'; -const LOGGERS = [NgxsLoggerPluginModule.forRoot({ disabled: false })]; +const LOGGERS = [NgxsLoggerPluginModule.forRoot({ disabled: true })]; @NgModule({ imports: [ diff --git a/npm/ng-packs/packages/core/src/lib/services/auth.service.ts b/npm/ng-packs/packages/core/src/lib/services/auth.service.ts index 35f667bf20..3a343fd2cb 100644 --- a/npm/ng-packs/packages/core/src/lib/services/auth.service.ts +++ b/npm/ng-packs/packages/core/src/lib/services/auth.service.ts @@ -20,11 +20,7 @@ export class AuthService { private oAuthService: OAuthService, private store: Store, @Optional() @Inject('ACCOUNT_OPTIONS') private options: any, - ) { - this.oAuthService.configure( - this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig, - ); - } + ) {} login(username: string, password: string): Observable { const tenant = this.store.selectSnapshot(SessionState.getTenant);