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();
|
var newPopUp = new PopUp();
|
||||||
if (allowLogin)
|
if (allowLogin)
|
||||||
{
|
{
|
||||||
|
//show menuview
|
||||||
newMenuView.Show();
|
newMenuView.Show();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
newPopUp.Show();
|
newPopUp.Show();
|
||||||
|
LoginNameBox.Text = string.Empty;
|
||||||
|
LoginPasswordBox.Text = string.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private async void NewUserButtonOnClick(object? sender, Avalonia.Interactivity.RoutedEventArgs e)
|
private async void NewUserButtonOnClick(object? sender, Avalonia.Interactivity.RoutedEventArgs e)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user