fix: strengthen password security - increase bcrypt rounds to 14, add notNull constraint to password field, add pull_policy to docker-compose
This commit is contained in:
@@ -62,7 +62,7 @@ export const actions: Actions = {
|
||||
return fail(400, { error: 'Username already taken', name, username });
|
||||
}
|
||||
|
||||
const hashedPassword = await bcrypt.hash(password, 10);
|
||||
const hashedPassword = await bcrypt.hash(password, 14);
|
||||
|
||||
await db.insert(users).values({
|
||||
name: sanitizedName,
|
||||
|
||||
Reference in New Issue
Block a user