Skip to content

Commit ae65755

Browse files
authored
Merge pull request #22887 from MichelZ/fix-loginhint
Assign LoginInput only when null
2 parents e5c21f6 + 59d3ea3 commit ae65755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public LoginModel(
7575

7676
public virtual async Task<IActionResult> OnGetAsync()
7777
{
78-
LoginInput = new LoginInputModel();
78+
LoginInput ??= new LoginInputModel();
7979

8080
ExternalProviders = await GetExternalProviders();
8181

0 commit comments

Comments
 (0)