auto assign username upon registration

This commit is contained in:
daniel31x13
2024-05-13 00:27:29 -04:00
parent 65b29830f0
commit 341154e928
5 changed files with 20 additions and 117 deletions
-1
View File
@@ -1,7 +1,6 @@
import { prisma } from "@/lib/api/db";
import NextAuth from "next-auth/next";
import CredentialsProvider from "next-auth/providers/credentials";
import { AuthOptions } from "next-auth";
import bcrypt from "bcrypt";
import EmailProvider from "next-auth/providers/email";
import { PrismaAdapter } from "@auth/prisma-adapter";