hbx-luv / codetango

The best way to play Codenames online
https://play.hbx.vision/
GNU General Public License v3.0
2 stars 3 forks source link

No security for the clickTile function #111

Closed Matttaylor8910 closed 2 years ago

Matttaylor8910 commented 2 years ago

There is no security for the click tile function, we just disable pointer events with CSS when you shouldn't be able to click.

We need to short circuit the function if you're not supposed to click. One big issue right now is that you can tab through the tiles and hit enter to get around the pointer events being set to none.

bacontech commented 2 years ago

Fixedity