augur
augur copied to clipboard
Delete account fails
Trying to delete an account results in 500 - Internal Server Error
How to reproduce:
- Go to username -> Profile
- Click on 'Delete Account'
- 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]:
Were like the Hotel California. You can check out any time you like, but you can never leave. That's not intentional. This issue is on a dark desert highway called our product road map. We will fix it soon.