add 'game_type' field to JWT
This commit is contained in:
		
							parent
							
								
									4b3c027385
								
							
						
					
					
						commit
						812c886517
					
				| @ -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, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user