mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-10-30 23:24:42 +00:00 
			
		
		
		
	Change account deletion flow
This commit is contained in:
		| @@ -321,7 +321,7 @@ pub fn export(user_id: &UserID) -> ResultBoxError<AccountExport> { | ||||
| /// Delete a user's account | ||||
| pub fn delete(user_id: &UserID) -> ResultBoxError { | ||||
|     // Close all WebSockets of user | ||||
|     user_ws_controller::disconnect_user_from_all_sockets(user_id)?; | ||||
|     destroy_all_user_tokens(user_id)?; | ||||
|  | ||||
|     // Delete all group membership | ||||
|     groups_helper::delete_all_user_groups(user_id)?; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user