sd012gfhkhhvh / Slate.AI

A Real Time Whiteboard for doodling with multiple peoples
https://slate-ai.vercel.app
MIT License
11 stars 16 forks source link

[BUG] - Room with no name and room code #23

Closed AntonyJudeShaman closed 6 months ago

AntonyJudeShaman commented 7 months ago

Severity:

Describe the Bug: A room with no name and code can be created and another user can join this empty room without entering any credentials(room code).

To Reproduce: Steps to reproduce the behavior:

  1. Go to 'Create room page'
  2. Click on 'Generate room' with name and code empty. You will be redirected to the '/' path. go back to create room page and wait.
  3. Open another browser and go to create room and click generate room with all fields empty.
  4. Quickly go back to the browser in step 2 to see a message that a null user has joined the room.

Screenshots: If applicable, add screenshots to help explain your problem. image image

Environment (please complete the following information):

AntonyJudeShaman commented 7 months ago

i would like to work on this issue @sd012gfhkhhvh from JWOC

sd012gfhkhhvh commented 7 months ago

@AntonyJudeShaman It's a potential bug to work on. Go ahead. I will suggest you do a client side schema validation before generating or joining a room for now as we are not using any db for storing any room data.