From de3b03258f65dfb5b78b575f8564e65da2816aed Mon Sep 17 00:00:00 2001 From: Barbara Post Date: Sun, 18 Jan 2026 16:42:16 +0100 Subject: [PATCH] Correction compilation --- BlazorPolicyAuth/Components/Pages/Account/Login.razor | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BlazorPolicyAuth/Components/Pages/Account/Login.razor b/BlazorPolicyAuth/Components/Pages/Account/Login.razor index 584f5c0..1168014 100644 --- a/BlazorPolicyAuth/Components/Pages/Account/Login.razor +++ b/BlazorPolicyAuth/Components/Pages/Account/Login.razor @@ -12,7 +12,7 @@

Login Form

- +
@@ -50,10 +50,10 @@ private async Task Authenticate() { - var result = await AuthService.Login(user); + var result = await AuthService.Login(userLogin.UserName, userLogin.Password); if (result.Success) { - errorMessage = string.Empty; + _errorMessage = string.Empty; // if (rememberMe) // await LocalStorageService.SetItemAsync("authToken", result.Data); // else @@ -65,7 +65,7 @@ } else { - errorMessage = result.Message; + _errorMessage = result.Message; } // if(string.IsNullOrWhiteSpace(Model.UserName) || string.IsNullOrWhiteSpace(Model.Password)) // {