comment and remove inputs from name/password box if wrong
This commit is contained in:
parent
1aaa7559d4
commit
f112e7538f
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user