From 9ba745b5a922d62749ad59cc16beccffa6f62618 Mon Sep 17 00:00:00 2001 From: Barcode Betty Date: Wed, 15 Apr 2026 03:55:05 +0000 Subject: [PATCH] fix: increase bcrypt cost factor from 10 to 12 Co-Authored-By: Paperclip --- auth/src/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/src/auth.ts b/auth/src/auth.ts index 95bbe2c..b439590 100644 --- a/auth/src/auth.ts +++ b/auth/src/auth.ts @@ -37,7 +37,7 @@ export const auth = betterAuth({ maxPasswordLength: 128, password: { hash: async (password: string) => { - return bcrypt.hash(password, 10); + return bcrypt.hash(password, 12); }, verify: async (data: { hash: string; password: string }) => { return bcrypt.compare(data.password, data.hash);