From 0d1040b9571060237430e2f17a5e983c93df8303 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 24 Oct 2016 23:23:22 +0200 Subject: [PATCH] Cleanup --- src/Squidex.Store.MongoDb/Apps/MongoAppRepository.cs | 2 +- .../Infrastructure/MongoPersistedGrantStore.cs | 2 +- src/Squidex.Store.MongoDb/Schemas/MongoSchemaRepository.cs | 2 +- src/Squidex/app/shared/services/auth.service.ts | 5 ++--- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Squidex.Store.MongoDb/Apps/MongoAppRepository.cs b/src/Squidex.Store.MongoDb/Apps/MongoAppRepository.cs index 0f61d1421..958e78ab7 100644 --- a/src/Squidex.Store.MongoDb/Apps/MongoAppRepository.cs +++ b/src/Squidex.Store.MongoDb/Apps/MongoAppRepository.cs @@ -30,7 +30,7 @@ namespace Squidex.Store.MongoDb.Apps protected override string CollectionName() { - return "Apps"; + return "Projections_Apps"; } protected override Task SetupCollectionAsync(IMongoCollection collection) diff --git a/src/Squidex.Store.MongoDb/Infrastructure/MongoPersistedGrantStore.cs b/src/Squidex.Store.MongoDb/Infrastructure/MongoPersistedGrantStore.cs index cc86323ad..74255fede 100644 --- a/src/Squidex.Store.MongoDb/Infrastructure/MongoPersistedGrantStore.cs +++ b/src/Squidex.Store.MongoDb/Infrastructure/MongoPersistedGrantStore.cs @@ -34,7 +34,7 @@ namespace Squidex.Store.MongoDb.Infrastructure protected override string CollectionName() { - return "PersistedGrants"; + return "Identity_PersistedGrants"; } protected override Task SetupCollectionAsync(IMongoCollection collection) diff --git a/src/Squidex.Store.MongoDb/Schemas/MongoSchemaRepository.cs b/src/Squidex.Store.MongoDb/Schemas/MongoSchemaRepository.cs index 0dff2eb57..edba235dd 100644 --- a/src/Squidex.Store.MongoDb/Schemas/MongoSchemaRepository.cs +++ b/src/Squidex.Store.MongoDb/Schemas/MongoSchemaRepository.cs @@ -42,7 +42,7 @@ namespace Squidex.Store.MongoDb.Schemas protected override string CollectionName() { - return "Apps"; + return "Projections_Schemas"; } protected override Task SetupCollectionAsync(IMongoCollection collection) diff --git a/src/Squidex/app/shared/services/auth.service.ts b/src/Squidex/app/shared/services/auth.service.ts index 46a7e0053..00537bc36 100644 --- a/src/Squidex/app/shared/services/auth.service.ts +++ b/src/Squidex/app/shared/services/auth.service.ts @@ -38,13 +38,12 @@ export class AuthService { silent_redirect_uri: apiUrl.buildUrl('identity-server/client-callback-silent/'), popup_redirect_uri: apiUrl.buildUrl('identity-server/client-callback-popup/'), authority: apiUrl.buildUrl('identity-server/'), - response_type: 'id_token token', - scope: 'openid profile squidex-api' + response_type: 'id_token token', + scope: 'openid profile squidex-api' }); this.userManager.getUser() .then((user) => { - debugger; this.currentUser = user; }) .catch((err) => {