diff options
author | Simon Rettberg | 2015-09-30 11:56:00 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-09-30 11:56:00 +0200 |
commit | 564a5195c8240c47e2ad71ffacfe5efe5d8b939d (patch) | |
tree | 073aed5a6d8b1df6818db147a7c08837ca390631 | |
parent | Fixes (backwards compat) (diff) | |
download | masterserver-564a5195c8240c47e2ad71ffacfe5efe5d8b939d.tar.gz masterserver-564a5195c8240c47e2ad71ffacfe5efe5d8b939d.tar.xz masterserver-564a5195c8240c47e2ad71ffacfe5efe5d8b939d.zip |
Fix getUSerInfo call on Session class
-rw-r--r-- | src/main/java/org/openslx/imagemaster/thrift/server/MasterServerHandler.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/openslx/imagemaster/thrift/server/MasterServerHandler.java b/src/main/java/org/openslx/imagemaster/thrift/server/MasterServerHandler.java index ec13a6f..ed1db56 100644 --- a/src/main/java/org/openslx/imagemaster/thrift/server/MasterServerHandler.java +++ b/src/main/java/org/openslx/imagemaster/thrift/server/MasterServerHandler.java @@ -135,8 +135,7 @@ public class MasterServerHandler implements MasterServer.Iface final Session session = SessionManager.getSessionFromToken( token ); if ( session == null ) throw new TInvalidTokenException(); - return new UserInfo( session.getLogin(), session.getFirstName(), - session.getLastName(), session.getEMail(), session.getOrgenizationId() ); + return session.getUserInfo(); } @Override |