From 3da63313ce702d16589ffb5b8155820f313c1c06 Mon Sep 17 00:00:00 2001 From: Enis Necipoglu Date: Mon, 19 Sep 2022 13:22:53 +0300 Subject: [PATCH] Change default value of ShowCancelButton to false --- .../Pages/Account/IdentityServerSupportedLoginModel.cs | 3 ++- .../Pages/Account/OpenIddictSupportedLoginModel.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/IdentityServerSupportedLoginModel.cs b/modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/IdentityServerSupportedLoginModel.cs index 16bd8086d5..d04abee6d9 100644 --- a/modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/IdentityServerSupportedLoginModel.cs +++ b/modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/IdentityServerSupportedLoginModel.cs @@ -54,7 +54,8 @@ public class IdentityServerSupportedLoginModel : LoginModel if (context != null) { - ShowCancelButton = true; + // TODO: Find a proper cancel way. + // ShowCancelButton = true; LoginInput.UserNameOrEmailAddress = context.LoginHint; diff --git a/modules/account/src/Volo.Abp.Account.Web.OpenIddict/Pages/Account/OpenIddictSupportedLoginModel.cs b/modules/account/src/Volo.Abp.Account.Web.OpenIddict/Pages/Account/OpenIddictSupportedLoginModel.cs index 61b170c612..10231a2607 100644 --- a/modules/account/src/Volo.Abp.Account.Web.OpenIddict/Pages/Account/OpenIddictSupportedLoginModel.cs +++ b/modules/account/src/Volo.Abp.Account.Web.OpenIddict/Pages/Account/OpenIddictSupportedLoginModel.cs @@ -34,7 +34,8 @@ public class OpenIddictSupportedLoginModel : LoginModel var request = await OpenIddictRequestHelper.GetFromReturnUrlAsync(ReturnUrl); if (request?.ClientId != null) { - ShowCancelButton = true; + // TODO: Find a proper cancel way. + // ShowCancelButton = true; LoginInput.UserNameOrEmailAddress = request.LoginHint;