From c9f27d9881ea0cc05e953117380b4b22a1376d21 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 9 Feb 2022 13:44:02 +0100 Subject: Update server dependencies --- server/models/user/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models/user') diff --git a/server/models/user/user.ts b/server/models/user/user.ts index 4ad76e5bc..e7bf22806 100644 --- a/server/models/user/user.ts +++ b/server/models/user/user.ts @@ -623,7 +623,7 @@ export class UserModel extends Model>> { const query = { where: { [Op.or]: [ - where(fn('lower', col('username')), fn('lower', username)), + where(fn('lower', col('username')), '=', fn('lower', username)), { email } ] -- cgit v1.2.3