From 9ec86adf83d9594cefe06ade59929af6848fb45b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ak=C4=B1n=20Sabri=20=C3=87am?= Date: Thu, 19 Mar 2020 12:19:58 +0300 Subject: [PATCH] refactored async method --- .../src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs index 68aef8ee4c..014088983a 100644 --- a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs +++ b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs @@ -147,7 +147,7 @@ namespace Volo.Abp.Account.Web.Pages.Account var properties = SignInManager.ConfigureExternalAuthenticationProperties(provider, redirectUrl); properties.Items["scheme"] = provider; - return Challenge(properties, provider); + return await Task.FromResult(Challenge(properties, provider)); } [UnitOfWork]