Browse Source

AuthorizationInterceptor should authorize synchronously.

pull/216/head
Halil İbrahim Kalkan 9 years ago
parent
commit
631c3dc63a
  1. 2
      src/Volo.Abp.Authorization/Volo/Abp/Authorization/AuthorizationInterceptor.cs

2
src/Volo.Abp.Authorization/Volo/Abp/Authorization/AuthorizationInterceptor.cs

@ -28,7 +28,7 @@ namespace Volo.Abp.Authorization
return; return;
} }
await AuthorizeAsync(invocation); AsyncHelper.RunSync(() => AuthorizeAsync(invocation));
await invocation.ProceedAsync(); await invocation.ProceedAsync();
} }

Loading…
Cancel
Save