Missing synchronization access to the username

This commit is contained in:
games647
2022-06-23 12:35:25 +02:00
parent 1c528fb9cb
commit 53e6fe6ddf

View File

@ -52,7 +52,7 @@ public abstract class LoginSession {
return requestUsername;
}
public String getUsername() {
public synchronized String getUsername() {
return username;
}