From 9f570201fea847a699b7caa9b7f9329a3abe9ed6 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Mon, 6 Jun 2022 15:50:33 +0200
Subject: refactor: Temporarily disable user deletion from within projects

---
 apps/projects/src/app/pages/views/profile-modal.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'apps/projects/src/app/pages/views/profile-modal.svelte')

diff --git a/apps/projects/src/app/pages/views/profile-modal.svelte b/apps/projects/src/app/pages/views/profile-modal.svelte
index 839b59d..7560175 100644
--- a/apps/projects/src/app/pages/views/profile-modal.svelte
+++ b/apps/projects/src/app/pages/views/profile-modal.svelte
@@ -5,7 +5,6 @@
 	import Button from "$shared/components/button.svelte";
 	import {is_email} from "$shared/lib/helpers";
 	import {api_base} from "$shared/lib/configuration";
-	import {delete_user} from "$app/lib/services/user-service";
 	import {get_session_data} from "$shared/lib/session";
 
 	const archiveLink = api_base("_/api/account/archive");
@@ -70,8 +69,9 @@
 	}
 
 	async function handle_delete_account_button_click() {
+		alert("Not implemented");
+		return;
 		if (understands && confirm("Are you absolutely sure that you want to delete your account?")) {
-			await delete_user();
 		}
 	}
 
-- 
cgit v1.3

