Compare commits
2 Commits
230202aa0a
...
4baa3ef51b
Author | SHA1 | Date | |
---|---|---|---|
4baa3ef51b | |||
a44c87cf83 |
@ -21,16 +21,6 @@ public class Login {
|
|||||||
|
|
||||||
while (true) {
|
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;
|
boolean error = false;
|
||||||
error = isError(error, phoneNumber);
|
error = isError(error, phoneNumber);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user