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:
parent
ec1af70ae5
commit
7453dd0119
@ -46,7 +46,7 @@ router.post(
|
||||
}
|
||||
|
||||
const user = await User.findOneOrFail({
|
||||
where: [{ phone: login }, { email: login }],
|
||||
where: [{ phone: login }, { email: email }],
|
||||
select: [
|
||||
"data",
|
||||
"id",
|
||||
|
Loading…
Reference in New Issue
Block a user