From 8fe521d66d17ee4baae6f20a87a344342b424d56 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 15 Dec 2023 15:13:50 +0530 Subject: [PATCH] feat: update frontend to remove dashboard details --- app/javascript/v3/api/auth.js | 2 - .../auth/signup/components/Signup/Form.vue | 80 ++++++------------- 2 files changed, 24 insertions(+), 58 deletions(-) diff --git a/app/javascript/v3/api/auth.js b/app/javascript/v3/api/auth.js index a4793d3d0..9b93e0353 100644 --- a/app/javascript/v3/api/auth.js +++ b/app/javascript/v3/api/auth.js @@ -28,8 +28,6 @@ export const login = async ({ export const register = async creds => { try { const response = await wootAPI.post('api/v1/accounts.json', { - account_name: creds.accountName.trim(), - user_full_name: creds.fullName.trim(), email: creds.email, password: creds.password, h_captcha_client_response: creds.hCaptchaClientResponse, diff --git a/app/javascript/v3/views/auth/signup/components/Signup/Form.vue b/app/javascript/v3/views/auth/signup/components/Signup/Form.vue index 898e26ddd..f2c1c3e95 100644 --- a/app/javascript/v3/views/auth/signup/components/Signup/Form.vue +++ b/app/javascript/v3/views/auth/signup/components/Signup/Form.vue @@ -1,52 +1,30 @@