Bcrypt to Bcryptjs to support ARM based systems

This commit is contained in:
headlessdev
2025-04-30 19:53:15 +02:00
parent dbf86ab283
commit c212986fb5
4 changed files with 22 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import { NextResponse, NextRequest } from "next/server";
import jwt from 'jsonwebtoken';
import { prisma } from "@/lib/prisma";
import bcrypt from 'bcrypt';
import bcrypt from 'bcryptjs';
interface EditEmailRequest {
oldPassword: string;