aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/server/auth.ts
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-07-21 00:33:33 +0000
committerMohamed Bassem <me@mbassem.com>2025-07-21 00:33:33 +0000
commitbb11907e8b04d519c4ea3e67d4c7ce5a6226914b (patch)
tree4dd81c88aad12ee9b6db2a81e0190baac56a6b31 /apps/web/server/auth.ts
parent52ac0869d53b54e91db557f012f7ee9a3ecc3e9d (diff)
downloadkarakeep-bb11907e8b04d519c4ea3e67d4c7ce5a6226914b.tar.zst
fix: Remove bcrypt from the api key validation route
Diffstat (limited to 'apps/web/server/auth.ts')
-rw-r--r--apps/web/server/auth.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/web/server/auth.ts b/apps/web/server/auth.ts
index 3abc682f..1feeec28 100644
--- a/apps/web/server/auth.ts
+++ b/apps/web/server/auth.ts
@@ -108,6 +108,7 @@ const providers: Provider[] = [
return await validatePassword(
credentials?.email,
credentials?.password,
+ db,
);
} catch {
return null;