Skip to content

Delete account fails #2672

@jarrah42

Description

@jarrah42

Trying to delete an account results in 500 - Internal Server Error

How to reproduce:

  1. Go to username -> Profile
  2. Click on 'Delete Account'
  3. Click on 'Click again to confirm deletion'

The following error is displayed:

 File "/home/ubuntu/github/virtualenvs/hosted/lib/python3.10/site-packages/flask/app.py", line 2073, in wsgi_app response = self.full_dispatch_request() File "/home/ubuntu/github/virtualenvs/hosted/lib/python3.10/site-packages/flask/app.py", line 1518, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/ubuntu/github/virtualenvs/hosted/lib/python3.10/site-packages/flask_cors/extension.py", line 165, in wrapped_function return cors_after_request(app.make_response(f(*args, **kwargs))) File "/home/ubuntu/github/virtualenvs/hosted/lib/python3.10/site-packages/flask/app.py", line 1516, in full_dispatch_request rv = self.dispatch_request() File "/home/ubuntu/github/virtualenvs/hosted/lib/python3.10/site-packages/flask/app.py", line 1502, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File "/home/ubuntu/github/virtualenvs/hosted/lib/python3.10/site-packages/flask_login/utils.py", line 272, in decorated_view return func(*args, **kwargs) File "/home/ubuntu/github/augur/augur/api/view/routes.py", line 205, in user_delete if current_user.delete()[0]: 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDocuments unexpected/wrong/buggy behaviorreproducible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions