PSO-40 fixx
This commit is contained in:
parent
42be667958
commit
46b97ec42f
@ -103,7 +103,7 @@ namespace Klient.Droid
|
|||||||
FindViewById<EditText>(Resource.Id.RepeatPassword).Text = "";
|
FindViewById<EditText>(Resource.Id.RepeatPassword).Text = "";
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (new NetworkCredential("", Password).Password.Length < 8 || new NetworkCredential("", Password).Password.Length > 20)
|
else if (new NetworkCredential("", Password).Password.Length < 8 || new NetworkCredential("", Password).Password.Length > 20 || string.IsNullOrWhiteSpace(new NetworkCredential("", Password).Password))
|
||||||
{
|
{
|
||||||
FindViewById<TextView>(Resource.Id.ErrorRegister).Text = "Hasło musi mieć od 8 do 20 znaków!";
|
FindViewById<TextView>(Resource.Id.ErrorRegister).Text = "Hasło musi mieć od 8 do 20 znaków!";
|
||||||
FindViewById<EditText>(Resource.Id.NewPassword).Text = "";
|
FindViewById<EditText>(Resource.Id.NewPassword).Text = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user