comment and remove inputs from name/password box if wrong

This commit is contained in:
Taarly 2025-05-19 16:49:37 +02:00
parent 1aaa7559d4
commit f112e7538f

View File

@ -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)