1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 04:32:35 +01:00

Use adjusted email in /auth/login

This commit is contained in:
Madeline 2023-01-02 13:17:23 +11:00
parent ec1af70ae5
commit 7453dd0119

View File

@ -46,7 +46,7 @@ router.post(
}
const user = await User.findOneOrFail({
where: [{ phone: login }, { email: login }],
where: [{ phone: login }, { email: email }],
select: [
"data",
"id",