update login

This commit is contained in:
sijinhui
2024-04-18 16:56:09 +08:00
parent 714ad21b74
commit ef5638e427
6 changed files with 267 additions and 134 deletions

View File

@@ -1,6 +1,5 @@
import { NextRequest, NextResponse } from "next/server";
import prisma from "@/lib/prisma";
import { insertUser } from "@/lib/auth";
import { getTokenLength } from "@/lib/utils";
async function handle(