From f112e7538fb27b63d6ce4c0fcd64c0e1210b341a Mon Sep 17 00:00:00 2001 From: Taarly Date: Mon, 19 May 2025 16:49:37 +0200 Subject: [PATCH] comment and remove inputs from name/password box if wrong --- Project.View/Login Page/LoginPage.axaml.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Project.View/Login Page/LoginPage.axaml.cs b/Project.View/Login Page/LoginPage.axaml.cs index 1580e0c..fad8cac 100644 --- a/Project.View/Login Page/LoginPage.axaml.cs +++ b/Project.View/Login Page/LoginPage.axaml.cs @@ -28,11 +28,14 @@ public partial class LoginPage : UserControl var newPopUp = new PopUp(); if (allowLogin) { + //show menuview newMenuView.Show(); } else { newPopUp.Show(); + LoginNameBox.Text = string.Empty; + LoginPasswordBox.Text = string.Empty; } } private async void NewUserButtonOnClick(object? sender, Avalonia.Interactivity.RoutedEventArgs e)