Missing synchronization access to the username

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