mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-27 09:49:13 +01:00
➕ Use bcryptjs instead of bcrypt
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { UserSettings } from '@prisma/client';
|
||||
import { TRPCError } from '@trpc/server';
|
||||
import bcrypt from 'bcrypt';
|
||||
import bcrypt from 'bcryptjs';
|
||||
import { z } from 'zod';
|
||||
import { hashPassword } from '~/utils/security';
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { PrismaAdapter } from '@next-auth/prisma-adapter';
|
||||
import bcrypt from 'bcrypt';
|
||||
import bcrypt from 'bcryptjs';
|
||||
import Cookies from 'cookies';
|
||||
import { type GetServerSidePropsContext, type NextApiRequest, type NextApiResponse } from 'next';
|
||||
import { type DefaultSession, type NextAuthOptions, getServerSession } from 'next-auth';
|
||||
|
||||
Reference in New Issue
Block a user