From 52ed99fc1dd9063348b3f35c6432b9c525e0e774 Mon Sep 17 00:00:00 2001 From: Daniel Zdravkovic <3012893@stud.hs-mannheim.de> Date: Mon, 10 Jun 2024 14:44:55 +0200 Subject: [PATCH] sign_out_user method implemented --- src/main/java/de/hs_mannheim/domain/System.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/de/hs_mannheim/domain/System.java b/src/main/java/de/hs_mannheim/domain/System.java index e9613a6..52b9cff 100644 --- a/src/main/java/de/hs_mannheim/domain/System.java +++ b/src/main/java/de/hs_mannheim/domain/System.java @@ -115,6 +115,8 @@ public class System { public void sign_out_user(){ this.distances = new ArrayList<>(); + + current_user = new User(); } public boolean change_user_details(String username, String password, String hometown, int zip,