Andreas Wurst 2025-06-03 11:05:58 +02:00
parent f0d41db17d
commit e5e8735425
1 changed files with 2 additions and 2 deletions

View File

@ -21,13 +21,13 @@ public class Passwort_Check {
if (passwort == null) {
return false;
} // Abfrage der Grossbuchstaben
return passwort.matches(".*[A-Z].*[A-Z].*[A-Z].*");
return passwort.matches(".*[A-Z].*[A-Z].*[A-Z].*"); //
}
public static boolean checkZiffer(String passwort) {
if (passwort == null) {
return false;
} // Abfrage der ZiffernS
} // Abfrage der Ziffern
return passwort.matches(".*[0-9].*[0-9].*[0-9].*");
}