Merge branch 'main' into feat/passkey

This commit is contained in:
David Nguyen
2024-03-07 18:27:23 +08:00
38 changed files with 802 additions and 202 deletions

View File

@ -1,7 +1,7 @@
/// <reference types="../types/next-auth.d.ts" />
import { PrismaAdapter } from '@next-auth/prisma-adapter';
import { compare } from '@node-rs/bcrypt';
import { verifyAuthenticationResponse } from '@simplewebauthn/server';
import { compare } from 'bcrypt';
import { DateTime } from 'luxon';
import type { AuthOptions, Session, User } from 'next-auth';
import type { JWT } from 'next-auth/jwt';