diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-02 13:17:23 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-02 13:18:07 +1100 |
commit | 7453dd0119843c2259a8dc2337e86227f9bb08be (patch) | |
tree | c4c41a69543aff4f93f2cd52806a155e4b5c153a /src | |
parent | Only send public user details in GUILD_MEMBER_LIST_UPDATE (diff) | |
download | server-7453dd0119843c2259a8dc2337e86227f9bb08be.tar.xz |
Use adjusted email in /auth/login
Diffstat (limited to 'src')
-rw-r--r-- | src/api/routes/auth/login.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/auth/login.ts b/src/api/routes/auth/login.ts index bbfb5425..7434fa35 100644 --- a/src/api/routes/auth/login.ts +++ b/src/api/routes/auth/login.ts @@ -46,7 +46,7 @@ router.post( } const user = await User.findOneOrFail({ - where: [{ phone: login }, { email: login }], + where: [{ phone: login }, { email: email }], select: [ "data", "id", |