summary refs log tree commit diff
path: root/api/src/routes
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-04 17:59:29 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-04 17:59:29 +0200
commitf6f550f10a7a78d5495a1ab44a1ba5aeb3889638 (patch)
tree41b04b52a7bc67da1b0cf5c1fa1ed8488344a7d3 /api/src/routes
parent:bug: fix release (diff)
downloadserver-f6f550f10a7a78d5495a1ab44a1ba5aeb3889638.tar.xz
:arrow_up: update test client
Diffstat (limited to 'api/src/routes')
-rw-r--r--api/src/routes/auth/register.ts2
1 files changed, 1 insertions, 1 deletions
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();