From 0bf59ee28adc81b2b91585f1bdd1ae1cb951e6b1 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 4 Sep 2021 17:59:29 +0200 Subject: :arrow_up: update test client --- api/client_test/index.html | 8 ++++---- api/src/routes/auth/register.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'api') diff --git a/api/client_test/index.html b/api/client_test/index.html index 6ca8647e..ac66df06 100644 --- a/api/client_test/index.html +++ b/api/client_test/index.html @@ -45,9 +45,9 @@ `{"trace":false,"canary":false,"logGatewayEvents":true,"logOverlayEvents":true,"logAnalyticsEvents":true,"sourceMapsEnabled":false,"axeEnabled":false}` ); - - - - + + + + diff --git a/api/src/routes/auth/register.ts b/api/src/routes/auth/register.ts index 19c9c70f..a9518e91 100644 --- a/api/src/routes/auth/register.ts +++ b/api/src/routes/auth/register.ts @@ -205,7 +205,7 @@ router.post( hash: adjusted_password, valid_tokens_since: new Date() }, - settings: defaultSettings, + settings: { ...defaultSettings, locale: req.language || "en-US" }, fingerprints: [] }).save(); -- cgit 1.5.1