Browse Source
Remove `FormTenantResolveContributor` from the `AbpTenantResolveOptions`.
pull/12393/head
maliming
5 years ago
No known key found for this signature in database
GPG Key ID: 96224957E51C89E
2 changed files with
2 additions and
2 deletions
-
framework/src/Volo.Abp.AspNetCore.MultiTenancy/Volo/Abp/AspNetCore/MultiTenancy/AbpAspNetCoreMultiTenancyModule.cs
-
framework/src/Volo.Abp.AspNetCore.MultiTenancy/Volo/Abp/AspNetCore/MultiTenancy/FormTenantResolveContributor.cs
|
|
|
@ -15,7 +15,6 @@ public class AbpAspNetCoreMultiTenancyModule : AbpModule |
|
|
|
Configure<AbpTenantResolveOptions>(options => |
|
|
|
{ |
|
|
|
options.TenantResolvers.Add(new QueryStringTenantResolveContributor()); |
|
|
|
options.TenantResolvers.Add(new FormTenantResolveContributor()); |
|
|
|
options.TenantResolvers.Add(new RouteTenantResolveContributor()); |
|
|
|
options.TenantResolvers.Add(new HeaderTenantResolveContributor()); |
|
|
|
options.TenantResolvers.Add(new CookieTenantResolveContributor()); |
|
|
|
|
|
|
|
@ -1,10 +1,11 @@ |
|
|
|
using System.Linq; |
|
|
|
using System; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Microsoft.AspNetCore.Http; |
|
|
|
using Volo.Abp.MultiTenancy; |
|
|
|
|
|
|
|
namespace Volo.Abp.AspNetCore.MultiTenancy; |
|
|
|
|
|
|
|
[Obsolete("This may make some features of ASP NET Core unavailable, Will be removed in future versions.")] |
|
|
|
public class FormTenantResolveContributor : HttpTenantResolveContributorBase |
|
|
|
{ |
|
|
|
public const string ContributorName = "Form"; |
|
|
|
|