Compare commits

..

1 commit

Author SHA1 Message Date
Kevin Schmidt
221e59cd9d TD-18: Match Creation 2025-03-05 12:12:36 +01:00

View file

@ -71,7 +71,7 @@ public class ServerApiController implements ServerApi {
} catch (NoSuchAlgorithmException e) {
return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR);
}
String token = sessionsService.createSession(player, Channel.CONNECTION);
String token = sessionsService.createSession(player, Channel.CONNECTION); // Channel TOken erstellen
PlayerLoginSession session = new PlayerLoginSession();
session.setUsername(player.getUsername());
session.setToken(token);