admin/accounts/delete returns NO_SUCH_USER #329

Closed
opened 2023-01-28 12:44:20 +00:00 by puniko · 1 comment
Contributor

Can't delete a user on my instance through admin panel. Endpoint returns

XHRPOSThttps://mk.absturztau.be/api/admin/accounts/delete
[HTTP/2 404 Not Found 326ms]

	
error	Object { message: "No such user.", code: "NO_SUCH_USER", endpoint: "admin/accounts/delete" }

seems like there are some accounts in a limbo state, that are marked as deleted but still show up?

Workaround is to update the is deleted field in the database manually to false.

EDIT: just fyi: the account in question still could login

Can't delete a user on my instance through admin panel. Endpoint returns ``` XHRPOSThttps://mk.absturztau.be/api/admin/accounts/delete [HTTP/2 404 Not Found 326ms] error Object { message: "No such user.", code: "NO_SUCH_USER", endpoint: "admin/accounts/delete" } ``` seems like there are some accounts in a limbo state, that are marked as deleted but still show up? Workaround is to update the is deleted field in the database manually to false. EDIT: just fyi: the account in question still could login
Owner

Can't delete a user on my instance through admin panel.
Workaround is to update the is deleted field in the database manually to false.

I think this effect is because some places in the backend do not properly check the isDeleted field.

The part of accounts being not fully deleted might be fixed by #320, although I'm unsure whether that is the issue here.

> Can't delete a user on my instance through admin panel. > Workaround is to update the is deleted field in the database manually to false. I think this effect is because some places in the backend do not properly check the `isDeleted` field. The part of accounts being not fully deleted might be fixed by #320, although I'm unsure whether that is the issue here.
Sign in to join this conversation.
No labels
feature
fix
upkeep
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#329
No description provided.