Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting account returns an error and does not log out the user properly #5262

Closed
gtsiolis opened this issue Aug 18, 2021 · 3 comments · Fixed by #5289
Closed

Deleting account returns an error and does not log out the user properly #5262

gtsiolis opened this issue Aug 18, 2021 · 3 comments · Fixed by #5289
Assignees
Labels
component: dashboard type: bug Something isn't working

Comments

@gtsiolis
Copy link
Contributor

Bug description

When a user tried to delete their account from the Account section in Settings the product returns an error in console and does not log out the user properly.

Uncaught (in promise) Error: Request deleteAccount failed with message:

Steps to reproduce

  1. Go to /account
  2. Click Delete Account button.
  3. Type your email to confirm.
  4. Click Delete Account.

Expected behavior

The user should not see any error in the console and they should be properly logged out.

Example repository

No response

Anything else?

No response

@gtsiolis gtsiolis added type: bug Something isn't working component: dashboard labels Aug 18, 2021
@JanKoehnlein
Copy link
Contributor

@gtsiolis could you reproduce this?

@gtsiolis
Copy link
Contributor Author

@JanKoehnlein yes! User deletion seems to happen in the background but a) some errors pop up in the console, b) user is stuck in the deletion modal, and c) reloading the page will not let you login back in the same browser session. Maybe something is not set up properly with cookies or local storage?

Delete Login
Screenshot 2021-08-19 at 10 08 57 AM Screenshot 2021-08-19 at 10 09 18 AM

@JanKoehnlein
Copy link
Contributor

/schedule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dashboard type: bug Something isn't working
Projects
None yet
3 participants