mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-05 18:32:33 +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