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)