Browse Source

Merge pull request #22887 from MichelZ/fix-loginhint

Assign LoginInput only when null
pull/22888/head
maliming 1 year ago
committed by GitHub
parent
commit
ae65755816
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs

2
modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs

@ -75,7 +75,7 @@ public class LoginModel : AccountPageModel
public virtual async Task<IActionResult> OnGetAsync()
{
LoginInput = new LoginInputModel();
LoginInput ??= new LoginInputModel();
ExternalProviders = await GetExternalProviders();

Loading…
Cancel
Save