mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-29 03:37:17 +00:00
🔒️(backend) bind accepted lobby entries to the current username
Bind an accepted lobby entry to the username the participant had at the moment of acceptance. This prevents a participant, once accepted, from changing their display name and reusing the same lobby grant to enter the room under a different identity.
This commit is contained in:
@@ -150,7 +150,7 @@ class LobbyService:
|
||||
livekit_config = utils.generate_livekit_config(
|
||||
room_id=room_id,
|
||||
user=user,
|
||||
username=username,
|
||||
username=participant.username,
|
||||
color=participant.color,
|
||||
configuration=room.configuration,
|
||||
participant_id=participant.id,
|
||||
@@ -171,7 +171,7 @@ class LobbyService:
|
||||
livekit_config = utils.generate_livekit_config(
|
||||
room_id=room_id,
|
||||
user=user,
|
||||
username=username,
|
||||
username=participant.username,
|
||||
color=participant.color,
|
||||
configuration=room.configuration,
|
||||
participant_id=participant.id,
|
||||
|
||||
Reference in New Issue
Block a user