From 812c886517c6db806ef47b8229881fcb4022b6d0 Mon Sep 17 00:00:00 2001 From: Thomas Rubini <74205383+ThomasRubini@users.noreply.github.com> Date: Tue, 29 Nov 2022 13:40:02 +0100 Subject: [PATCH] add 'game_type' field to JWT --- truthseeker/game_functions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/truthseeker/game_functions.py b/truthseeker/game_functions.py index 4fd4b3e..a6b2397 100644 --- a/truthseeker/game_functions.py +++ b/truthseeker/game_functions.py @@ -54,6 +54,7 @@ class Game: def _gen_jwt(self, username, owner): return jwt.encode( payload={ + "game_type": "multi", "game_id": self.game_id, "username": username, "owner": owner,