We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cc4891d + b0fd976 commit 42bd391Copy full SHA for 42bd391
backend/internal/token.js
@@ -24,7 +24,7 @@ module.exports = {
24
25
return userModel
26
.query()
27
- .where('email', data.identity)
+ .where('email', data.identity.toLowerCase().trim())
28
.andWhere('is_deleted', 0)
29
.andWhere('is_disabled', 0)
30
.first()
0 commit comments