Browse Source

Assign LoginInput only when null

pull/22887/head
Michel Zehnder 9 months ago
committed by GitHub
parent
commit
59d3ea3dd3
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