diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-03-24 04:18:19 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-03-24 04:18:19 +1100 |
commit | 59c0dd07310bfcdb79a6f7da0d530db599b64a4f (patch) | |
tree | f97753bfe936f2c32b149530c52f6b2b4ec189c2 | |
parent | Work towards fixing openapi spec (diff) | |
parent | Merge pull request #1012 from Puyodead1/patch/totp-user-settings (diff) | |
download | server-59c0dd07310bfcdb79a6f7da0d530db599b64a4f.tar.xz |
Merge branch 'master' of github.com:fosscord/fosscord-server
-rw-r--r-- | src/api/routes/auth/mfa/totp.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/auth/mfa/totp.ts b/src/api/routes/auth/mfa/totp.ts index 6236d209..bbbd1236 100644 --- a/src/api/routes/auth/mfa/totp.ts +++ b/src/api/routes/auth/mfa/totp.ts @@ -63,7 +63,7 @@ router.post( return res.json({ token: await generateToken(user.id), - user_settings: user.settings, + settings: { ...user.settings, index: undefined }, }); }, ); |