TikTok V5 + Security
This commit is contained in:
@@ -62,7 +62,7 @@ export async function POST(req: NextRequest) {
|
||||
}
|
||||
|
||||
// Hash the new password
|
||||
const hashedPassword = await bcrypt.hash(password, 10);
|
||||
const hashedPassword = await bcrypt.hash(password, 12);
|
||||
|
||||
// Update user's password and clear reset token
|
||||
await db.user.update({
|
||||
|
||||
Reference in New Issue
Block a user