Browse Source
Merge pull request #574 from colinin/5.2.0
fix(tasks): 启用认证
pull/580/head
yx lin
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/TaskManagementHttpApiHostModule.cs
|
|
|
@ -93,7 +93,7 @@ public partial class TaskManagementHttpApiHostModule : AbpModule |
|
|
|
ConfigureSecurity(context.Services, configuration, hostingEnvironment.IsDevelopment()); |
|
|
|
|
|
|
|
// 开发取消权限检查
|
|
|
|
context.Services.AddAlwaysAllowAuthorization(); |
|
|
|
// context.Services.AddAlwaysAllowAuthorization();
|
|
|
|
} |
|
|
|
|
|
|
|
public override void OnApplicationInitialization(ApplicationInitializationContext context) |
|
|
|
|