diff --git a/packages/nocodb-nest/src/modules/auth/auth.service.ts b/packages/nocodb-nest/src/modules/auth/auth.service.ts index 7b9e626f54..0e3b86a22e 100644 --- a/packages/nocodb-nest/src/modules/auth/auth.service.ts +++ b/packages/nocodb-nest/src/modules/auth/auth.service.ts @@ -23,7 +23,7 @@ export class AuthService { if (user) { const { password, salt, ...result } = user; - const hashedPassword = await promisify(bcrypt.hash)(password, user.salt); + const hashedPassword = await promisify(bcrypt.hash)(pass, user.salt); if (user.password === hashedPassword) { return result; }