Browse Source

Cleanup

pull/1/head
Sebastian 10 years ago
parent
commit
0d1040b957
  1. 2
      src/Squidex.Store.MongoDb/Apps/MongoAppRepository.cs
  2. 2
      src/Squidex.Store.MongoDb/Infrastructure/MongoPersistedGrantStore.cs
  3. 2
      src/Squidex.Store.MongoDb/Schemas/MongoSchemaRepository.cs
  4. 5
      src/Squidex/app/shared/services/auth.service.ts

2
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<MongoAppEntity> collection)

2
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<PersistedGrant> collection)

2
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<MongoSchemaEntity> collection)

5
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) => {

Loading…
Cancel
Save