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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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(); |
|
|
|
|
|
|
|
|