From 2d80b69cd2411e3950424ca1924e85bacd9c504a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fahri=20Can=20Se=C3=A7er?= Date: Fri, 30 Jan 2026 01:59:00 +0300 Subject: [PATCH] Update route.ts --- src/app/api/auth/[...nextauth]/route.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/api/auth/[...nextauth]/route.ts b/src/app/api/auth/[...nextauth]/route.ts index de70bff..55dfbc1 100644 --- a/src/app/api/auth/[...nextauth]/route.ts +++ b/src/app/api/auth/[...nextauth]/route.ts @@ -3,6 +3,9 @@ import { authService } from "@/lib/api/example/auth/service"; import NextAuth from "next-auth"; import Credentials from "next-auth/providers/credentials"; + + + function randomToken() { return Math.random().toString(36).substring(2) + Date.now().toString(36); }