summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 20:51:14 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 20:51:14 +0200
commitb4655503c8aa06bda7dc7680d96626447f88c0d2 (patch)
tree00c907c3161a23e8ff776ffe10c4eb4fedcefcb5 /src
parentMerge branch 'master' of https://github.com/discord-open-source/discord-api (diff)
downloadserver-ts-b4655503c8aa06bda7dc7680d96626447f88c0d2.tar.xz
:bug: revert login
Diffstat (limited to 'src')
-rw-r--r--src/routes/auth/login.ts11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/routes/auth/login.ts b/src/routes/auth/login.ts

index 3c279319..cc2b6202 100644 --- a/src/routes/auth/login.ts +++ b/src/routes/auth/login.ts
@@ -29,16 +29,7 @@ router.post( { $or: query, }, - { - id: true, - user_settings: { - locale: true, - theme: true, - }, - user_data: { - hash: true, - }, - } + `user_data.hash id user_settings.locale user_settings.theme` ).exec(); if (!user) {