Zemanzo / web-marbles

Aims to recreate Marble Racing from the ground up, as a fully web based game
https://playmarbl.es/
GNU General Public License v3.0
23 stars 12 forks source link

Cancelling Discord authorization is handled incorrectly #132

Closed Zemanzo closed 5 years ago

Zemanzo commented 5 years ago

Expected behavior When clicking cancel, it should close the pop-up that appeared and possibly warn the user that the action has been cancelled.

Actual behavior The pop-up remains open and navigates to the regular chat window. (Which is unnecessary, since you already have the chat open to get the pop-up in the first place)

Reproduction steps

  1. Make sure you are currently not logged in
  2. Go to /chat (or /client, which has /chat in an iframe)
  3. Click the "Log in with Discord" button
  4. Cancel the authorization
  5. Pop-up remains visible with another copy of the chat