diff options
Diffstat (limited to 'src/api/routes/auth/mfa/webauthn.ts')
-rw-r--r-- | src/api/routes/auth/mfa/webauthn.ts | 5 |
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, + }, }); }, ); |