From 53e6fe6ddfda61c6c42e070a6bf28fa4e61ce2dc Mon Sep 17 00:00:00 2001 From: games647 Date: Thu, 23 Jun 2022 12:35:25 +0200 Subject: [PATCH] Missing synchronization access to the username --- .../com/github/games647/fastlogin/core/shared/LoginSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/github/games647/fastlogin/core/shared/LoginSession.java b/core/src/main/java/com/github/games647/fastlogin/core/shared/LoginSession.java index 33b5ff5c..3935ada4 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/shared/LoginSession.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/shared/LoginSession.java @@ -52,7 +52,7 @@ public abstract class LoginSession { return requestUsername; } - public String getUsername() { + public synchronized String getUsername() { return username; }