From 1025a902fd033a4ca32274c6f97fdfefb24757be Mon Sep 17 00:00:00 2001
From: henridb <henridb@stud.ntnu.no>
Date: Mon, 29 Apr 2024 12:58:05 +0200
Subject: [PATCH] fix: remove password field from update DTO

---
 src/components/UpdateUserComponents/UpdateUserLayout.vue | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/components/UpdateUserComponents/UpdateUserLayout.vue b/src/components/UpdateUserComponents/UpdateUserLayout.vue
index 653d817..42a3dd1 100644
--- a/src/components/UpdateUserComponents/UpdateUserLayout.vue
+++ b/src/components/UpdateUserComponents/UpdateUserLayout.vue
@@ -62,8 +62,7 @@ const handleSubmit = async () => {
   const updateUserPayload: UserUpdateDTO = {
     firstName: firstNameRef.value,
     lastName: surnameRef.value,
-    email: emailRef.value,
-    password: passwordRef.value
+    email: emailRef.value
   };
 
 
-- 
GitLab