From c11a02773a44869efea0396ae0c215a5e00bb92d 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 --- src/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.ts b/src/auth.ts index 95bbe2c..b439590 100644 --- a/src/auth.ts +++ b/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);