Compare commits

..

No commits in common. "4baa3ef51bccd568f76648100cc9f27a23aefe01" and "230202aa0a54e108d6ee00319ca5c925616f53f2" have entirely different histories.

View File

@ -21,6 +21,16 @@ public class Login {
while (true) {
while(password.isEmpty() || phoneNumber.isEmpty())
{
System.out.println("Login fehlgeschlagen. Eingabe ist leer, versuchen Sie es erneut.");
System.out.println("");
System.out.print("Telefonnummer: ");
phoneNumber = leser.nextLine();
System.out.print("Passwort: ");
password = leser.nextLine();
}
boolean error = false;
error = isError(error, phoneNumber);