mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-26 14:06:39 +00:00
Use adjusted email in /auth/login
This commit is contained in:
@@ -46,7 +46,7 @@ router.post(
|
||||
}
|
||||
|
||||
const user = await User.findOneOrFail({
|
||||
where: [{ phone: login }, { email: login }],
|
||||
where: [{ phone: login }, { email: email }],
|
||||
select: [
|
||||
"data",
|
||||
"id",
|
||||
|
||||
Reference in New Issue
Block a user