fix: increase bcrypt cost factor from 10 to 12

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Barcode Betty
2026-04-15 03:55:05 +00:00
parent e433cea908
commit c11a02773a
+1 -1
View File
@@ -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);