From e3a923eb6f355e6c6a9431982e1e83c7b2fcc132 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 18 Nov 2025 09:40:55 +0000 Subject: [PATCH] send JSON string instead of object --- surfsense_web/lib/apis/auth-api.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surfsense_web/lib/apis/auth-api.service.ts b/surfsense_web/lib/apis/auth-api.service.ts index 547b9e5e0..6502787de 100644 --- a/surfsense_web/lib/apis/auth-api.service.ts +++ b/surfsense_web/lib/apis/auth-api.service.ts @@ -49,7 +49,7 @@ export class AuthApiService { } return baseApiService.post(`/auth/register`, registerResponse, { - body: parsedRequest.data, + body: JSON.stringify(parsedRequest.data) }); }; }