summary refs log tree commit diff
path: root/src/api/routes/auth/mfa/webauthn.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/auth/mfa/webauthn.ts')
-rw-r--r--src/api/routes/auth/mfa/webauthn.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/api/routes/auth/mfa/webauthn.ts b/src/api/routes/auth/mfa/webauthn.ts

index b58d2944..687fdcd8 100644 --- a/src/api/routes/auth/mfa/webauthn.ts +++ b/src/api/routes/auth/mfa/webauthn.ts
@@ -114,7 +114,10 @@ router.post( return res.json({ token: await generateToken(user.id), - user_settings: user.settings, + user_settings: { + locale: user.settings.locale, + theme: user.settings.theme, + }, }); }, );