refactor(auth): localize admin auth and replace latest ranges
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { authRouteHandlers } from "@cms/auth/server"
|
||||
import { authRouteHandlers } from "@/lib/auth/server"
|
||||
|
||||
export const runtime = "nodejs"
|
||||
|
||||
export const { GET, POST, PATCH, PUT, DELETE } = authRouteHandlers
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { isAdminRegistrationEnabled } from "@cms/auth/server"
|
||||
import { redirect } from "next/navigation"
|
||||
|
||||
import { resolveRoleFromServerContext } from "@/lib/access-server"
|
||||
import { isAdminRegistrationEnabled } from "@/lib/auth/server"
|
||||
|
||||
import { LoginForm } from "./login-form"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user