Missing synchronization access to the username

This commit is contained in:
games647
2022-06-28 18:34:23 +02:00
parent 1c528fb9cb
commit 53e6fe6ddf
@@ -52,7 +52,7 @@ public abstract class LoginSession {
return requestUsername; return requestUsername;
} }
public String getUsername() { public synchronized String getUsername() {
return username; return username;
} }