knossos icon indicating copy to clipboard operation
knossos copied to clipboard

Deleting account doesn't log you out

Open Sjouwer opened this issue 3 years ago • 0 comments

Environment

Website

Describe the bug

When you enter your name and confirm to delete, you won't get logged out from Modrinth. The green progress bar will show up shortly and nothing else happens. If you continue using Modrinth in this state, it seems to automatically create your account again (you remain logged in and your profile will say it's been created a few seconds ago).

This doesn't seem to be an issue when you close your browser right after deleting your account. When you visit Modrinth again after doing that, it doesn't show you as logged in anymore and your public profile also doesn't exist anymore.

However, if you press login again, it'll instantly create you a new account if you're still logged in on GitHub (since you already authorized Modrinth). So to make sure your account won't be created again you'll have to first deleted it, then close the browser and finally revoke the authorization on GitHub.

Steps To Reproduce

  1. Go to: Settings -> Security
  2. Press: Delete Account
  3. Fill in your username and confirm deletion
  4. Continue using Modrinth and notice you're still logged in
  5. Go to your profile and notice it says it's been created a few seconds ago

Expected behavior

  • Once deletion has been confirmed it should also log you out.
  • When trying to login after deletion it should ask for permission/confirmation again instead of instantly creating you a new account.

Additional context

No response

Sjouwer avatar Aug 19 '22 14:08 Sjouwer