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) }); }; }