diff --git a/src/main/java/de/hs_mannheim/domain/System.java b/src/main/java/de/hs_mannheim/domain/System.java index 2a817b6..ab7c799 100644 --- a/src/main/java/de/hs_mannheim/domain/System.java +++ b/src/main/java/de/hs_mannheim/domain/System.java @@ -82,8 +82,8 @@ public class System { return all_users; } - public boolean sign_in_user(String username, String password) throws IOException { - ArrayList mem = new ArrayList<>(get_all_user()); + public boolean sign_in_user(String username, String password) { + ArrayList mem = get_all_user(); for (User user : mem) { if (user.getUsername().equals(username) && decoding(user.getPassword()).equals(password)) {